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
N
- name() - Method in annotation type org.mockito.Mock
-
Mock will have custom name (shown in verification errors), see
MockSettings.name(String)
. - 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)
, seeMockito.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() - Method in interface org.mockito.plugins.MemberAccessor.ConstructionDispatcher
- newInstance(Class<T>) - Method in interface org.mockito.creation.instance.Instantiator
-
Creates instance of given class
- 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
- NONE - org.mockito.mock.SerializableMode
-
No serialization.
- nonMockableReason() - Method in interface org.mockito.plugins.MockMaker.TypeMockability
-
informs why type is not mockable
- 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.
- not(char) - Static method in class org.mockito.AdditionalMatchers
-
char 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(float) - Static method in class org.mockito.AdditionalMatchers
-
float 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(short) - Static method in class org.mockito.AdditionalMatchers
-
short argument that does not match the given argument matcher.
- not(T) - Static method in class org.mockito.AdditionalMatchers
-
Object 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. - 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
All Classes All Packages