Some code samples demonstrating unit testing, inversion of control (dependency injection), and model-view-presenter.