JUnit is actually a great demonstration of a number of patterns from GoF. We will look at examples of Template Method(325), Composite (163) and the Command (233) patterns. JUnit also uses Adapter (139).