Uses of Interface
org.mockito.invocation.Location
Packages that use Location
Package
Description
Whatever helps in debugging failed tests.
Invocation machinery and related classes.
Argument matchers for verification and stubbing.
Public API related to mock method invocations.
-
Uses of Location in org.mockito.internal.debugging
Methods in org.mockito.internal.debugging that return Location -
Uses of Location in org.mockito.internal.exceptions
Methods in org.mockito.internal.exceptions with parameters of type LocationModifier and TypeMethodDescriptionstatic MockitoExceptionReporter.smartNullPointerException(String invocation, Location location) static MockitoExceptionReporter.unfinishedStubbing(Location location) static MockitoExceptionReporter.unfinishedVerificationException(Location location) Method parameters in org.mockito.internal.exceptions with type arguments of type LocationModifier and TypeMethodDescriptionstatic MockitoAssertionErrorReporter.tooFewActualInvocations(Discrepancy discrepancy, DescribedInvocation wanted, List<Location> allLocations) static MockitoAssertionErrorReporter.tooFewActualInvocationsInOrder(Discrepancy discrepancy, DescribedInvocation wanted, List<Location> locations) static MockitoAssertionErrorReporter.tooManyActualInvocations(int wantedCount, int actualCount, DescribedInvocation wanted, List<Location> locations) static MockitoAssertionErrorReporter.tooManyActualInvocationsInOrder(int wantedCount, int actualCount, DescribedInvocation wanted, List<Location> invocations) -
Uses of Location in org.mockito.internal.invocation
Methods in org.mockito.internal.invocation that return LocationModifier and TypeMethodDescriptionstatic LocationInvocationsFinder.getLastLocation(List<Invocation> invocations) InterceptedInvocation.getLocation()InvocationMatcher.getLocation()StubInfoImpl.stubbedAt()Methods in org.mockito.internal.invocation that return types with arguments of type LocationModifier and TypeMethodDescriptionInvocationsFinder.getAllLocations(List<Invocation> invocations) Methods in org.mockito.internal.invocation with parameters of type LocationModifier and TypeMethodDescriptionstatic InterceptedInvocationDefaultInvocationFactory.createInvocation(Object mock, Method invokedMethod, Object[] arguments, RealMethod realMethod, MockCreationSettings settings, Location location) Constructors in org.mockito.internal.invocation with parameters of type LocationModifierConstructorDescriptionInterceptedInvocation(MockReference<Object> mockRef, MockitoMethod mockitoMethod, Object[] arguments, RealMethod realMethod, Location location, int sequenceNumber) -
Uses of Location in org.mockito.internal.matchers
Methods in org.mockito.internal.matchers that return Location -
Uses of Location in org.mockito.invocation
Methods in org.mockito.invocation that return LocationModifier and TypeMethodDescriptionDescribedInvocation.getLocation()The place in the code where the invocation happened.Invocation.getLocation()StubInfo.stubbedAt()