| 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(Class<?> cls,
Method method)
Expect calls to private static methods.
|
static <T> WithOrWithoutExpectedArguments<T> |
PowerMockito.when(Object instance,
Method method)
Expect calls to private methods.
|
static <T> WithOrWithoutExpectedArguments<T> |
PowerMockito.whenNew(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> |
Copyright © 2007–2016. All rights reserved.