Say you have a arbitrary class under test, which is dependent on a class DataProcessor which has a method with the following signature: [crayon-51e60adf28f7f/] you might want to stub it with Mockito 1.9.5 in the following way to match the … Continue reading
The post Tasty Test Tip: Matching generic typed classes in Mockito appeared first on JDriven Blog.