A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
L
- lenient() - Method in annotation type org.mockito.Mock
-
Deprecated.Use
Mock.strictness()instead. Mock will be lenient, seeMockSettings.lenient(). For examples how to use 'Mock' annotation and parameters seeMock. - lenient() - Static method in class org.mockito.Mockito
-
Lenient stubs bypass "strict stubbing" validation (see
STRICT_STUBS). - lenient() - Method in interface org.mockito.MockSettings
-
Deprecated.Use
MockSettings.strictness(Strictness)instead. Lenient mocks bypass "strict stubbing" validation (seeSTRICT_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.
For more information and an elaborate example, seeFoo mock = mock(Foo.class, withSettings.lenient());Mockito.lenient(). - LENIENT - org.mockito.Mock.Strictness
-
See
LENIENT - LENIENT - 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
MockitoSessionfor emitting warnings when finishing the session. - longThat(Matcher<Long>) - Static method in class org.mockito.hamcrest.MockitoHamcrest
-
Enables integrating hamcrest matchers that match primitive
longarguments. - longThat(ArgumentMatcher<Long>) - Static method in class org.mockito.ArgumentMatchers
-
Allows creating custom
longargument 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.
All Classes All Packages