Four phases of every test function (The Four A’s):
- arrange (setup) - set the system into the state necessary to run the test (a.k.a., test fixture)
- act (execute)
- assert (check)
- annihilate (teardown) - undo everything done in the arrange
Also: given, when, then