Package | Description |
---|---|
org.powermock.api.mockito | |
org.powermock.api.mockito.expectation | |
org.powermock.api.mockito.internal.expectation |
Modifier and Type | Method and Description |
---|---|
static <T> WithOrWithoutExpectedArguments<T> |
PowerMockito.when(java.lang.Class<?> cls,
java.lang.reflect.Method method)
Expect calls to private static methods.
|
static <T> WithOrWithoutExpectedArguments<T> |
PowerMockito.when(java.lang.Object instance,
java.lang.reflect.Method method)
Expect calls to private methods.
|
static <T> WithOrWithoutExpectedArguments<T> |
PowerMockito.whenNew(java.lang.reflect.Constructor<T> ctor)
Allows specifying expectations on new invocations.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConstructorExpectationSetup<T> |
Modifier and Type | Class and Description |
---|---|
class |
ConstructorAwareExpectationSetup<T> |
class |
DefaultConstructorExpectationSetup<T> |
class |
DefaultMethodExpectationSetup<T> |