Arrange Act Assert

https://wiki.c2.com/?ArrangeActAssert
Each method should group these functional sections, separated by blank lines:
1. Arrange all necessary preconditions and inputs.
2. Act on the object or method under test.
3. Assert that the expected results have occurred.

AAA

単体テスト書くときの心得