public interface PrivateMethodVerification
Modifier and Type | Method and Description |
---|---|
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 methodToVerify,
java.lang.Object... arguments)
Verify a private method call by specifying the method name of the method
to verify.
|
void invoke(java.lang.Object... arguments) throws java.lang.Exception
java.lang.Exception
- If something unexpected goes wrong.WithOrWithoutVerifiedArguments invoke(java.lang.reflect.Method method) throws java.lang.Exception
java.lang.Exception
- If something unexpected goes wrong.void invoke(java.lang.String methodToVerify, java.lang.Object... arguments) throws java.lang.Exception
java.lang.Exception
- If something unexpected goes wrong.#invoke(Object...)}