Unit test for the Mediator behavioral design pattern.
Unit test for the Memento behavioral design pattern. Acts also as the pattern's Caretaker role.