|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
public class DefaultPrivateMethodVerification
Constructor Summary | |
---|---|
DefaultPrivateMethodVerification(java.lang.Object objectToVerify)
|
Method Summary | |
---|---|
WithOrWithoutVerifiedArguments |
invoke(java.lang.reflect.Method method)
Verify calls to the specific method. |
void |
invoke(java.lang.Object... arguments)
Verify calls to private methods without having to specify the method name. |
void |
invoke(java.lang.String methodToExecute,
java.lang.Object... arguments)
Verify a private method call by specifying the method name of the method to verify. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPrivateMethodVerification(java.lang.Object objectToVerify)
Method Detail |
---|
public void invoke(java.lang.Object... arguments) throws java.lang.Exception
PrivateMethodVerification
invoke
in interface PrivateMethodVerification
java.lang.Exception
- If something unexpected goes wrong.public void invoke(java.lang.String methodToExecute, java.lang.Object... arguments) throws java.lang.Exception
PrivateMethodVerification
invoke
in interface PrivateMethodVerification
java.lang.Exception
- If something unexpected goes wrong.Mockito#invoke(Object)}
public WithOrWithoutVerifiedArguments invoke(java.lang.reflect.Method method) throws java.lang.Exception
PrivateMethodVerification
invoke
in interface PrivateMethodVerification
java.lang.Exception
- If something unexpected goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |