Unit tests have most value when they’re easy to read and understand. Unit tests typically follow a very straightforward pattern:
- Simulate system state
- Call the method under test
- Verify the method’s result and side effects
So long as this pattern is obvious in the test, the test is readable.