Making a Mockery with Mock Objects

Graham Lee: The key part is that you don’t actually need to build the collaborating object. In fact, you don’t need to worry at all yet about how it will be implemented. All that matters is that you express the messages it responds to, so that the mock object can test whether they’re sent. In … Continue reading Making a Mockery with Mock Objects