Index

A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

L

1. Let's verify some behaviour! - Search tag in class org.mockito.Mockito
Section
lenient() - Element in annotation type org.mockito.Mock
Deprecated.
Use Mock.strictness() instead. Mock will be lenient, see MockSettings.lenient(). For examples how to use 'Mock' annotation and parameters see Mock.
lenient() - Static method in class org.mockito.Mockito
Lenient stubs bypass "strict stubbing" validation (see Strictness.STRICT_STUBS).
lenient() - Method in interface org.mockito.MockSettings
Deprecated.
Use MockSettings.strictness(Strictness) instead. Lenient mocks bypass "strict stubbing" validation (see Strictness.STRICT_STUBS). When mock is declared as lenient none of its stubbings will be checked for potential stubbing problems such as 'unnecessary stubbing' (UnnecessaryStubbingException) or for 'stubbing argument mismatch' PotentialStubbingProblem.

   Foo mock = mock(Foo.class, withSettings.lenient());
 
For more information and an elaborate example, see Mockito.lenient().
LENIENT - Enum constant in enum org.mockito.Mock.Strictness
LENIENT - Enum constant in enum org.mockito.quality.Strictness
No extra strictness.
LenientStubber - Interface in org.mockito.stubbing
Used for declaring optional stubbings with Mockito.lenient()
leq(byte) - Static method in class org.mockito.AdditionalMatchers
byte argument less than or equal to the given value.
leq(double) - Static method in class org.mockito.AdditionalMatchers
double argument less than or equal to the given value.
leq(float) - Static method in class org.mockito.AdditionalMatchers
float argument less than or equal to the given value.
leq(int) - Static method in class org.mockito.AdditionalMatchers
int argument less than or equal to the given value.
leq(long) - Static method in class org.mockito.AdditionalMatchers
long argument less than or equal to the given value.
leq(short) - Static method in class org.mockito.AdditionalMatchers
short argument less than or equal to the given value.
leq(T) - Static method in class org.mockito.AdditionalMatchers
comparable argument less than or equal the given value details.
Location - Interface in org.mockito.invocation
Describes the location of something in the source code.
log(Object) - Method in interface org.mockito.plugins.MockitoLogger
Log specified object.
log(String) - Method in interface org.mockito.session.MockitoSessionLogger
Logs the hint.
logger(MockitoSessionLogger) - Method in interface org.mockito.session.MockitoSessionBuilder
Configures logger used by MockitoSession for emitting warnings when finishing the session.
longThat(Matcher<Long>) - Static method in class org.mockito.hamcrest.MockitoHamcrest
Enables integrating hamcrest matchers that match primitive long arguments.
longThat(ArgumentMatcher<Long>) - Static method in class org.mockito.ArgumentMatchers
Allows creating custom long argument matchers.
lt(byte) - Static method in class org.mockito.AdditionalMatchers
byte argument less than the given value.
lt(double) - Static method in class org.mockito.AdditionalMatchers
double argument less than the given value.
lt(float) - Static method in class org.mockito.AdditionalMatchers
float argument less than the given value.
lt(int) - Static method in class org.mockito.AdditionalMatchers
int argument less than the given value.
lt(long) - Static method in class org.mockito.AdditionalMatchers
long argument less than the given value.
lt(short) - Static method in class org.mockito.AdditionalMatchers
short argument less than the given value.
lt(T) - Static method in class org.mockito.AdditionalMatchers
comparable argument less than the given value.
A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form