Testing with Mocks and Stubs 04 Jan 2007 Martin Fowler has updated his Mocks Aren’t Stubs article. It has some nice, simple examples of state vs. behaviour verification during testing using mocks, stubs and other Testing Doubles.