Code for my talk about rolling your own mocks and stubs