Class DefaultPrivateMethodVerification
java.lang.Object
org.powermock.api.mockito.internal.verification.DefaultPrivateMethodVerification
- All Implemented Interfaces:
PrivateMethodVerification
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Verify calls to private methods without having to specify the method name.Verify calls to the specific method.void
Verify a private method call by specifying the method name of the method to verify.
-
Field Details
-
objectToVerify
-
-
Constructor Details
-
DefaultPrivateMethodVerification
-
-
Method Details
-
invoke
Description copied from interface:PrivateMethodVerification
Verify calls to private methods without having to specify the method name. The method will be looked up using the parameter types (if possible).- Specified by:
invoke
in interfacePrivateMethodVerification
- Throws:
Exception
- If something unexpected goes wrong.
-
invoke
Description copied from interface:PrivateMethodVerification
Verify a private method call by specifying the method name of the method to verify.- Specified by:
invoke
in interfacePrivateMethodVerification
- Throws:
Exception
- If something unexpected goes wrong.
-
invoke
Description copied from interface:PrivateMethodVerification
Verify calls to the specific method.- Specified by:
invoke
in interfacePrivateMethodVerification
- Throws:
Exception
- If something unexpected goes wrong.
-