Returning a method parameter in JMock
28th July 2009
I recently ran into a problem where I needed to test a Java method that dynamically created objects inside. These objects needed to be passed to and returned by a mock service class, but I did not know how to inject this class since it was created inside the method being tested.
Here is a [...]
Posted in Java | No Comments »