Added sample code here: http://www.informit.com/store/test-driven-ios-development-9780321774187