December 08, 2010
A key to writing clear, expressive, maintainable code is to develop that code with tests. But if the tests themselves are not clear, expressive, and maintainable, what good are they? Our applications have complex object interactions and rich object models. Fortunately, there are frameworks available for validating these interactions and replicating these models in a clear way. We will explore how Mockito and make–it–easy can help us write tests as clean as the code they are testing.