Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

P

Platform - Class in org.mockito.internal.util
 
Plugins - Class in org.mockito.internal.configuration.plugins
Access to Mockito behavior that can be reconfigured by plugins
PluginSwitch - Interface in org.mockito.plugins
Allows switching off the plugins that are discovered on classpath.
pluralize(int) - Static method in class org.mockito.internal.reporting.Pluralizer
 
Pluralizer - Class in org.mockito.internal.reporting
 
potentialStubbingProblem(Invocation, Collection<Invocation>) - Static method in class org.mockito.internal.exceptions.Reporter
 
PotentialStubbingProblem - Exception Class in org.mockito.exceptions.misusing
PotentialStubbingProblem improves productivity by failing the test early when the user misconfigures mock's stubbing.
PotentialStubbingProblem(String) - Constructor for exception class org.mockito.exceptions.misusing.PotentialStubbingProblem
 
prepare(T, MockedConstruction.Context) - Method in interface org.mockito.MockedConstruction.MockInitializer
Configure the mock.
Primitives - Class in org.mockito.internal.util
 
primitiveTypeOf(Class<T>) - Static method in class org.mockito.internal.util.Primitives
Returns the primitive type of the given class.
print() - Method in class org.mockito.internal.debugging.WarningsPrinterImpl
 
print(Object) - Static method in class org.mockito.internal.matchers.text.ValuePrinter
Prints given value so that it is neatly readable by humans.
print(List<ArgumentMatcher>, Invocation) - Method in class org.mockito.internal.reporting.PrintSettings
 
print(List<VerificationAwareInvocation>) - Method in class org.mockito.internal.exceptions.util.ScenarioPrinter
 
print(Invocation) - Method in class org.mockito.internal.reporting.PrintSettings
 
print(MatchableInvocation) - Method in class org.mockito.internal.reporting.PrintSettings
 
printInvocations() - Method in class org.mockito.internal.util.DefaultMockingDetails
 
printInvocations() - Method in interface org.mockito.MockingDetails
Returns printing-friendly list of the invocations that occurred with the mock object.
printInvocations(Object) - Method in class org.mockito.internal.debugging.InvocationsPrinter
 
printMethodReturnType() - Method in class org.mockito.internal.stubbing.answers.InvocationInfo
 
PrintSettings - Class in org.mockito.internal.reporting
 
PrintSettings() - Constructor for class org.mockito.internal.reporting.PrintSettings
 
printValues(String, String, String, Iterator<?>) - Static method in class org.mockito.internal.matchers.text.ValuePrinter
Print values in a nice format, e.g.
process(A, Field) - Method in interface org.mockito.internal.configuration.FieldAnnotationProcessor
 
process(Class<?>, Object) - Method in class org.mockito.internal.configuration.IndependentAnnotationEngine
 
process(Class<?>, Object) - Method in class org.mockito.internal.configuration.InjectingAnnotationEngine
Process the fields of the test instance and create Mocks, Spies, Captors and inject them on fields annotated @InjectMocks.
process(Class<?>, Object) - Method in class org.mockito.internal.configuration.SpyAnnotationEngine
 
process(Class<?>, Object) - Method in interface org.mockito.plugins.AnnotationEngine
Processes the test instance to configure annotated members.
process(Field, Object, Set<Object>) - Method in class org.mockito.internal.configuration.injection.MockInjectionStrategy
Actually inject mockCandidates on field.
process(Parameter) - Static method in class org.mockito.internal.configuration.CaptorAnnotationProcessor
 
process(Captor, Field) - Method in class org.mockito.internal.configuration.CaptorAnnotationProcessor
 
process(Mock, Field) - Method in class org.mockito.internal.configuration.MockAnnotationProcessor
 
processAnnotationForMock(Mock, Class<?>, Supplier<Type>, String) - Static method in class org.mockito.internal.configuration.MockAnnotationProcessor
 
processInjection(Field, Object, Set<Object>) - Method in class org.mockito.internal.configuration.injection.ConstructorInjection
 
processInjection(Field, Object, Set<Object>) - Method in class org.mockito.internal.configuration.injection.MockInjectionStrategy
Process actual injection.
processInjection(Field, Object, Set<Object>) - Method in class org.mockito.internal.configuration.injection.PropertyAndSetterInjection
 
processInjection(Field, Object, Set<Object>) - Method in class org.mockito.internal.configuration.injection.SpyOnInjectedFieldsHandler
 
PropertyAndSetterInjection - Class in org.mockito.internal.configuration.injection
Inject mocks using first setters then fields, if no setters available.
PropertyAndSetterInjection() - Constructor for class org.mockito.internal.configuration.injection.PropertyAndSetterInjection
 
PROXY - Static variable in class org.mockito.MockMakers
Proxy mock maker which avoids code generation, but can only mock interfaces.
ProxyMockMaker - Class in org.mockito.internal.creation.proxy
A mock maker that is using the Proxy utility and is therefore only capable of mocking interfaces but does not rely on manual byte code generation but only uses official and public Java API.
ProxyMockMaker() - Constructor for class org.mockito.internal.creation.proxy.ProxyMockMaker
 
pullLocalizedMatchers() - Method in interface org.mockito.internal.progress.ArgumentMatcherStorage
 
pullLocalizedMatchers() - Method in class org.mockito.internal.progress.ArgumentMatcherStorageImpl
 
pullOngoingStubbing() - Method in interface org.mockito.internal.progress.MockingProgress
 
pullOngoingStubbing() - Method in class org.mockito.internal.progress.MockingProgressImpl
 
pullVerificationMode() - Method in interface org.mockito.internal.progress.MockingProgress
 
pullVerificationMode() - Method in class org.mockito.internal.progress.MockingProgressImpl
 
pushTo(Thread) - Method in class org.mockito.internal.util.concurrent.DetachedThreadLocal
 
put(K, V) - Method in class org.mockito.internal.util.concurrent.WeakConcurrentMap
 
put(K, V) - Method in class org.mockito.internal.util.concurrent.WeakConcurrentMap.WithInlinedExpunction
 
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form