A key feature of JUnit is that it provides a convenient spot to hang the scaffolding
(or fixture) that you need for a test. Also built into JUnit are several convenient
assert methods that make tests quick and easy to build. With the JUnit test
runners, unit tests become so convenient that some developers have made testing
an integral part of writing code.
With the responsibilities of the JUnit classes defined, we presented a complete
UML diagram of the JUnit life cycle. Being able to visualize the JUnit life cycle can
be very helpful when you’re creating tests for more complex objects.