Package | Description |
---|---|
org.powermock.api.mockito.expectation | |
org.powermock.api.mockito.internal.expectation |
Modifier and Type | Method and Description |
---|---|
<T> PrivatelyExpectedArguments |
PowerMockitoStubber.when(Class<T> classMock,
Method method)
Allows to mock a static private method when stubbing in
doThrow()|doAnswer()|doNothing()|doReturn() style.
|
<T> PrivatelyExpectedArguments |
PowerMockitoStubber.when(T mock,
Method method)
Allows to mock a private instance method when stubbing in
doThrow()|doAnswer()|doNothing()|doReturn() style.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultPrivatelyExpectedArguments |
Modifier and Type | Method and Description |
---|---|
<T> PrivatelyExpectedArguments |
PowerMockitoStubberImpl.when(Class<T> classMock,
Method method) |
<T> PrivatelyExpectedArguments |
PowerMockitoStubberImpl.when(T mock,
Method method) |
Copyright © 2019. All rights reserved.