This is the implementation of the examples in the book "Test Driven iOS Development" with the extra benefit of using OCMock, rather than actually creating mock classes like the author did.