Skip navigation links
Mockito 2.18.3 API
A B C D E F G H I L M N O P R S T U V W 

N

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
Alias to times(0), see Mockito.times(int)
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
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
Deprecated.
With Java 8 this method will be removed in Mockito 3.0. This method is only used for generic friendliness to avoid casting, this is not anymore needed in Java 8.
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
 
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links
Mockito 2.18.3 API