use of org.mockito.internal.invocation.UnusedStubsFinder in project mockito by mockito.
the class WarningsCollector method getWarnings.
public String getWarnings() {
List<Invocation> unused = new UnusedStubsFinder().find(createdMocks);
List<Invocation> all = AllInvocationsFinder.find(createdMocks);
List<InvocationMatcher> allInvocationMatchers = InvocationMatcher.createFrom(all);
return new WarningsPrinterImpl(unused, allInvocationMatchers, false).print();
}
Aggregations