Finished trivial example with mock objects.