Uses of Interface
org.mockito.invocation.Location
Packages that use Location
Package
Description
Internal classes, not to be used by clients.
ByteBuddy related stuff.
Whatever helps in debugging failed tests.
Invocation machinery and related classes.
Argument matchers for verification and stubbing.
Mocking progress stateful classes.
Implementations of default Answers.
Public API related to mock method invocations.
-
Uses of Location in org.mockito.internal
Fields in org.mockito.internal declared as Location -
Uses of Location in org.mockito.internal.creation.bytebuddy
Methods in org.mockito.internal.creation.bytebuddy with parameters of type LocationModifier and TypeMethodDescription(package private) Object
MockMethodInterceptor.doIntercept
(Object mock, Method invokedMethod, Object[] arguments, RealMethod realMethod, Location location) -
Uses of Location in org.mockito.internal.debugging
Classes in org.mockito.internal.debugging that implement LocationFields in org.mockito.internal.debugging declared as LocationMethods 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 MockitoException
Reporter.smartNullPointerException
(String invocation, Location location) static MockitoException
Reporter.unfinishedStubbing
(Location location) static MockitoException
Reporter.unfinishedVerificationException
(Location location) Method parameters in org.mockito.internal.exceptions with type arguments of type LocationModifier and TypeMethodDescriptionprivate static String
Reporter.createAllLocationsMessage
(List<Location> locations) private static String
Reporter.createTooFewInvocationsMessage
(Discrepancy discrepancy, DescribedInvocation wanted, List<Location> locations) private static String
Reporter.createTooManyInvocationsMessage
(int wantedCount, int actualCount, DescribedInvocation wanted, List<Location> invocations) static MockitoAssertionError
Reporter.tooFewActualInvocations
(Discrepancy discrepancy, DescribedInvocation wanted, List<Location> allLocations) static MockitoAssertionError
Reporter.tooFewActualInvocationsInOrder
(Discrepancy discrepancy, DescribedInvocation wanted, List<Location> locations) static MockitoAssertionError
Reporter.tooManyActualInvocations
(int wantedCount, int actualCount, DescribedInvocation wanted, List<Location> locations) static MockitoAssertionError
Reporter.tooManyActualInvocationsInOrder
(int wantedCount, int actualCount, DescribedInvocation wanted, List<Location> invocations) -
Uses of Location in org.mockito.internal.invocation
Fields in org.mockito.internal.invocation declared as LocationMethods in org.mockito.internal.invocation that return LocationModifier and TypeMethodDescriptionstatic Location
InvocationsFinder.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 InterceptedInvocation
DefaultInvocationFactory.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
Fields in org.mockito.internal.matchers declared as LocationMethods in org.mockito.internal.matchers that return Location -
Uses of Location in org.mockito.internal.progress
Fields in org.mockito.internal.progress declared as Location -
Uses of Location in org.mockito.internal.stubbing.defaultanswers
Fields in org.mockito.internal.stubbing.defaultanswers declared as LocationModifier and TypeFieldDescriptionprivate final Location
ReturnsSmartNulls.ThrowsSmartNullPointer.location
Constructors in org.mockito.internal.stubbing.defaultanswers with parameters of type LocationModifierConstructorDescription(package private)
ThrowsSmartNullPointer
(InvocationOnMock unstubbedInvocation, Location 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()