Org:Mindful Goat Playground
After completing this unit, you'll be able to:
Use System.runAs to prove sharing and permissions behave for each persona, and wrap async work in Test.startTest() / Test.stopTest() so it finishes before you assert.
OpportunityClose as a user without edit access and asserts it fails.FollowUpJob and asserts its task after Test.stopTest().