Integration Testing with Spring: A Custom Configuration
Here’s the situation: We have a couple of configuration files we use for integration tests. Each of them is a different set of real and mock objects. Some of the objects have behaviors set on them (using Mockito.when) in the configuration classes. Now, one of the integration tests need one Read more…