Interface PrivateMethodVerification
- All Known Implementing Classes:
DefaultPrivateMethodVerification
public interface PrivateMethodVerification
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Verify calls to the specific method.void
Verify a private method call by specifying the method name of the method to verify.
-
Method Details
-
invoke
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:
Exception
- If something unexpected goes wrong.
-
invoke
Verify calls to the specific method.- Throws:
Exception
- If something unexpected goes wrong.
-
invoke
Verify a private method call by specifying the method name of the method to verify.- Throws:
Exception
- If something unexpected goes wrong.
-
invoke(String, Object...)
instead.