Class AllInvocationsFinder
- java.lang.Object
-
- org.mockito.internal.invocation.finder.AllInvocationsFinder
-
public class AllInvocationsFinder extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
AllInvocationsFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<Invocation>
find(java.lang.Iterable<?> mocks)
gets all invocations from mocks.static java.util.Set<Stubbing>
findStubbings(java.lang.Iterable<?> mocks)
Gets all stubbings from mocks.
-
-
-
Method Detail
-
find
public static java.util.List<Invocation> find(java.lang.Iterable<?> mocks)
gets all invocations from mocks. Invocations are ordered earlier first.- Parameters:
mocks
- mocks- Returns:
- invocations
-
findStubbings
public static java.util.Set<Stubbing> findStubbings(java.lang.Iterable<?> mocks)
Gets all stubbings from mocks. Invocations are ordered earlier first.- Parameters:
mocks
- mocks- Returns:
- stubbings
-
-