Org:Mindful Goat Playground
After completing this unit, you'll be able to:
An isolated unit test exercises one piece of logic, creates its own data, and asserts one behavior. Isolation makes failures point at the cause instead of at a neighbor.
TaskUtil with a static method getTaskPriority(String leadState) from the resources.TaskUtilTest with one test per branch, creating no org data.