Sample code backing the Mocking Your Code blog post