AAA - Test Structure
It's the structure used for a unit test.
Each letter stands for a section:
Arrange: The dependencies to simulate the situation to verify.
Act: Execute the unit of code.
Assert: That the final result is as expected.
It's suggested that each section ...
blog.fiftywords.co1 min read