Interface PrivateMethodVerification
-
- All Known Implementing Classes:
DefaultPrivateMethodVerification
public interface PrivateMethodVerification
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
invoke(java.lang.Object... arguments)
Deprecated.Useinvoke(String, Object...)
instead.WithOrWithoutVerifiedArguments
invoke(java.lang.reflect.Method method)
Verify calls to the specific method.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.
-
-
-
Method Detail
-
invoke
@Deprecated void invoke(java.lang.Object... arguments) throws java.lang.Exception
Deprecated.Useinvoke(String, Object...)
instead. Will be remove in PowerMock 3.0Verify calls to private methods without having to specify the method name. The method will be looked up using the parameter types (if possible).- Throws:
java.lang.Exception
- If something unexpected goes wrong.
-
invoke
WithOrWithoutVerifiedArguments invoke(java.lang.reflect.Method method) throws java.lang.Exception
Verify calls to the specific method.- Throws:
java.lang.Exception
- If something unexpected goes wrong.
-
invoke
void invoke(java.lang.String methodToVerify, java.lang.Object... arguments) throws java.lang.Exception
Verify a private method call by specifying the method name of the method to verify.- Throws:
java.lang.Exception
- If something unexpected goes wrong.
-
-