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) ObjectMockMethodInterceptor.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 LocationModifier and TypeClassDescription(package private) class(package private) classFields in org.mockito.internal.debugging declared as LocationMethods in org.mockito.internal.debugging that return LocationModifier and TypeMethodDescriptionstatic LocationLocationFactory.create()static LocationLocationFactory.create(boolean inline) LocationFactory.DefaultLocationFactory.create(boolean inline) LocationFactory.Factory.create(boolean inline) LocationFactory.Java8LocationFactory.create(boolean inline) Localized.getLocation() -
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 TypeMethodDescriptionprivate static StringReporter.createAllLocationsMessage(List<Location> locations) private static StringReporter.createTooFewInvocationsMessage(Discrepancy discrepancy, DescribedInvocation wanted, List<Location> locations) private static StringReporter.createTooManyInvocationsMessage(int wantedCount, int actualCount, DescribedInvocation wanted, List<Location> invocations) static 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
Fields in org.mockito.internal.invocation declared as LocationMethods 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
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 LocationReturnsSmartNulls.ThrowsSmartNullPointer.locationConstructors 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()