------------------------------------------------------------------------------- Test set: com.tradecloud.service.invoice.TotalLandedCostReportServiceTest ------------------------------------------------------------------------------- Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.022 s <<< FAILURE! -- in com.tradecloud.service.invoice.TotalLandedCostReportServiceTest com.tradecloud.service.invoice.TotalLandedCostReportServiceTest -- Time elapsed: 0 s <<< ERROR! org.mockito.exceptions.misusing.UnnecessaryStubbingException: Unnecessary stubbings detected in test class: TotalLandedCostReportServiceTest Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate to relevant line of code): 1. -> at com.tradecloud.service.invoice.TotalLandedCostReportServiceTest.setup(TotalLandedCostReportServiceTest.java:72) 2. -> at com.tradecloud.service.invoice.TotalLandedCostReportServiceTest.testTotalLandedCostReportSearch(TotalLandedCostReportServiceTest.java:119) 3. -> at com.tradecloud.service.invoice.TotalLandedCostReportServiceTest.testTotalLandedCostReportSearch(TotalLandedCostReportServiceTest.java:121) 4. -> at com.tradecloud.service.invoice.TotalLandedCostReportServiceTest.testTotalLandedCostReportSearch(TotalLandedCostReportServiceTest.java:137) Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.