- name(String) - Method in class org.mockito.internal.creation.MockSettingsImpl
-
- name - Variable in class org.mockito.internal.creation.settings.CreationSettings
-
- name() - Method in class org.mockito.internal.util.reflection.InstanceField
-
Returns the name of the field.
- name(String) - Method in interface org.mockito.MockSettings
-
Specifies mock name.
- NameBasedCandidateFilter - Class in org.mockito.internal.configuration.injection.filter
-
- NameBasedCandidateFilter(MockCandidateFilter) - Constructor for class org.mockito.internal.configuration.injection.filter.NameBasedCandidateFilter
-
- names() - Method in class org.mockito.internal.util.reflection.Fields.InstanceFields
-
- 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.
- never() - Method in class org.mockito.verification.VerificationWrapper
-
- neverWantedButInvoked(DescribedInvocation, Location) - Static method in class org.mockito.exceptions.Reporter
-
- NeverWantedButInvoked - Error in org.mockito.exceptions.verification
-
- NeverWantedButInvoked(String) - Constructor for error org.mockito.exceptions.verification.NeverWantedButInvoked
-
- newIdentitySet() - Static method in class org.mockito.internal.util.collections.Sets
-
- newInstance(Class<T>) - Method in class org.mockito.internal.creation.instance.ConstructorInstantiator
-
- newInstance(Class<T>) - Method in interface org.mockito.internal.creation.instance.Instantiator
-
Creates instance of given class
- newInstance(String, Class<?>) - Method in class org.mockito.internal.runners.util.RunnerProvider
-
- newMockSafeHashSet(Iterable<Object>) - Static method in class org.mockito.internal.util.collections.Sets
-
- newMockSafeHashSet(Object...) - Static method in class org.mockito.internal.util.collections.Sets
-
- newSet(T...) - Static method in class org.mockito.internal.util.collections.Sets
-
- next() - Static method in class org.mockito.internal.progress.SequenceNumber
-
- noArgConstructorOf(Class<?>) - Static method in class org.mockito.internal.util.reflection.Constructors
-
Returns the no arg constructor of the type if any.
- noArgumentValueWasCaptured() - Static method in class org.mockito.exceptions.Reporter
-
- NoInteractionsWanted - Error in org.mockito.exceptions.verification
-
No interactions wanted.
- NoInteractionsWanted(String) - Constructor for error org.mockito.exceptions.verification.NoInteractionsWanted
-
- NoMoreInteractions - Class in org.mockito.internal.verification
-
- NoMoreInteractions() - Constructor for class org.mockito.internal.verification.NoMoreInteractions
-
- noMoreInteractions() - Static method in class org.mockito.internal.verification.VerificationModeFactory
-
- noMoreInteractionsWanted(Invocation, List<VerificationAwareInvocation>) - Static method in class org.mockito.exceptions.Reporter
-
- noMoreInteractionsWantedInOrder(Invocation) - Static method in class org.mockito.exceptions.Reporter
-
- NON_PUBLIC_PARENT - Static variable in class org.mockito.internal.exceptions.MockitoLimitations
-
- NonGreedyNumberOfInvocationsInOrderChecker - Class in org.mockito.internal.verification.checkers
-
- NonGreedyNumberOfInvocationsInOrderChecker() - Constructor for class org.mockito.internal.verification.checkers.NonGreedyNumberOfInvocationsInOrderChecker
-
- nonMockableReason() - Method in interface org.mockito.plugins.MockMaker.TypeMockability
-
informs why type is not mockable
- nop - Static variable in interface org.mockito.internal.configuration.injection.filter.OngoingInjector
-
Injector that will do nothing, and will return null
as no mocks will be injected
- nop() - Static method in class org.mockito.internal.configuration.injection.MockInjectionStrategy
-
NOP Strategy that will always try the next strategy.
- 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.
- Not - Class in org.mockito.internal.matchers
-
- Not(ArgumentMatcher) - Constructor for class org.mockito.internal.matchers.Not
-
- NOT_NULL - Static variable in class org.mockito.internal.matchers.NotNull
-
- NotAMockException - Exception in org.mockito.exceptions.misusing
-
- NotAMockException(String) - Constructor for exception org.mockito.exceptions.misusing.NotAMockException
-
- notAMockPassedToVerify(Class) - Static method in class org.mockito.exceptions.Reporter
-
- notAMockPassedToVerifyNoMoreInteractions() - Static method in class org.mockito.exceptions.Reporter
-
- notAMockPassedToWhenMethod() - Static method in class org.mockito.exceptions.Reporter
-
- notAMockPassedWhenCreatingInOrder() - Static method in class org.mockito.exceptions.Reporter
-
- notAnException() - Static method in class org.mockito.exceptions.Reporter
-
- NotifiedMethodInvocationReport - Class in org.mockito.internal.listeners
-
Report on a method call
- NotifiedMethodInvocationReport(Invocation, Object) - Constructor for class org.mockito.internal.listeners.NotifiedMethodInvocationReport
-
- NotifiedMethodInvocationReport(Invocation, Throwable) - Constructor for class org.mockito.internal.listeners.NotifiedMethodInvocationReport
-
- NotNull - Class in org.mockito.internal.matchers
-
- notNull() - Method in class org.mockito.internal.util.reflection.Fields.InstanceFields
-
- notNull() - Static method in class org.mockito.Matchers
-
Not null
argument.
- notNull(Class<T>) - Static method in class org.mockito.Matchers
-
Not null
argument, not necessary of the given class.
- Null - Class in org.mockito.internal.matchers
-
- NULL - Static variable in class org.mockito.internal.matchers.Null
-
- NullInsteadOfMockException - Exception in org.mockito.exceptions.misusing
-
- NullInsteadOfMockException(String) - Constructor for exception org.mockito.exceptions.misusing.NullInsteadOfMockException
-
- nullPassedToVerify() - Static method in class org.mockito.exceptions.Reporter
-
- nullPassedToVerifyNoMoreInteractions() - Static method in class org.mockito.exceptions.Reporter
-
- nullPassedToWhenMethod() - Static method in class org.mockito.exceptions.Reporter
-
- nullPassedWhenCreatingInOrder() - Static method in class org.mockito.exceptions.Reporter
-
- NumberOfInvocationsChecker - Class in org.mockito.internal.verification.checkers
-
- NumberOfInvocationsChecker() - Constructor for class org.mockito.internal.verification.checkers.NumberOfInvocationsChecker
-
- NumberOfInvocationsInOrderChecker - Class in org.mockito.internal.verification.checkers
-
- NumberOfInvocationsInOrderChecker() - Constructor for class org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderChecker
-