- name(String) - Method in interface org.mockito.MockSettings
-
Specifies mock name.
- name(String) - Method in interface org.mockito.session.MockitoSessionBuilder
-
Configures the name of the MockitoSession
instance.
- never() - Static method in class org.mockito.Mockito
-
- never() - Method in class org.mockito.verification.Timeout
-
- never() - Method in interface org.mockito.verification.VerificationAfterDelay
-
Allows verification that there are no invocations at any point during the given period.
- NeverWantedButInvoked - Error in org.mockito.exceptions.verification
-
- NeverWantedButInvoked(String) - Constructor for error org.mockito.exceptions.verification.NeverWantedButInvoked
-
- newInstance(Class<T>) - Method in interface org.mockito.creation.instance.Instantiator
-
Creates instance of given class
- newInstance() - Method in interface org.mockito.plugins.MemberAccessor.ConstructionDispatcher
-
- newInstance(Constructor<?>, Object...) - Method in interface org.mockito.plugins.MemberAccessor
-
- newInstance(Constructor<?>, MemberAccessor.OnConstruction, Object...) - Method in interface org.mockito.plugins.MemberAccessor
-
- NoAction() - Constructor for class org.mockito.plugins.AnnotationEngine.NoAction
-
- NoInteractionsWanted - Error in org.mockito.exceptions.verification
-
No interactions wanted.
- NoInteractionsWanted(String) - Constructor for error org.mockito.exceptions.verification.NoInteractionsWanted
-
- nonMockableReason() - Method in interface org.mockito.plugins.MockMaker.TypeMockability
-
informs why type is not mockable
- not(T) - Static method in class org.mockito.AdditionalMatchers
-
Object argument that does not match the given argument matcher.
- not(short) - Static method in class org.mockito.AdditionalMatchers
-
short argument that does not match the given argument matcher.
- not(int) - Static method in class org.mockito.AdditionalMatchers
-
int argument that does not match the given argument matcher.
- not(long) - Static method in class org.mockito.AdditionalMatchers
-
long argument that does not match the given argument matcher.
- not(float) - Static method in class org.mockito.AdditionalMatchers
-
float argument that does not match the given argument matcher.
- not(double) - Static method in class org.mockito.AdditionalMatchers
-
double argument that does not match the given argument matcher.
- not(char) - Static method in class org.mockito.AdditionalMatchers
-
char argument that does not match the given argument matcher.
- not(boolean) - Static method in class org.mockito.AdditionalMatchers
-
boolean argument that does not match the given argument matcher.
- not(byte) - Static method in class org.mockito.AdditionalMatchers
-
byte argument that does not match the given argument matcher.
- NotAMockException - Exception in org.mockito.exceptions.misusing
-
- NotAMockException(String) - Constructor for exception org.mockito.exceptions.misusing.NotAMockException
-
- NotExtensible - Annotation Type in org.mockito
-
Indicates to the user that she should not provide custom implementations of given type.
- notNull() - Static method in class org.mockito.ArgumentMatchers
-
Not null
argument.
- notNull(Class<T>) - Static method in class org.mockito.ArgumentMatchers
-
- nullable(Class<T>) - Static method in class org.mockito.ArgumentMatchers
-
Argument that is either null
or of the given type.
- NullInsteadOfMockException - Exception in org.mockito.exceptions.misusing
-
- NullInsteadOfMockException(String) - Constructor for exception org.mockito.exceptions.misusing.NullInsteadOfMockException
-