I agree with Russell, you seriously should consider integration tests,
instead of unit testing in your DAOs.
If that's just one method of your test, then your test is poorly
understandable by newcommers, and it will be poorly maintainable, let alone
any easy evolutions. Simplifying the test design will take a great weight
off your shoulders.
Aside from that, I don't see why mockito reports this error, I don't have
enough code sample to identify the issue.
Also I don't really understand why you are "stubbing" this
final Set<NACustomerDTO> result = systemUnderTest.getNACustomers();
On Tue, Sep 18, 2012 at 5:43 PM, Russell Bateman <r...@windofkeltia.com>wrote: