org.powermock.api.mockito.verification
Interface PrivateMethodVerification

All Known Implementing Classes:
DefaultPrivateMethodVerification

public interface PrivateMethodVerification


Method Summary
 WithOrWithoutVerifiedArguments invoke(Method method)
          Verify calls to the specific method.
 void invoke(Object... arguments)
          Verify calls to private methods without having to specify the method name.
 void invoke(String methodToVerify, Object... arguments)
          Verify a private method call by specifying the method name of the method to verify.
 

Method Detail

invoke

void invoke(Object... arguments)
            throws Exception
Verify 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

WithOrWithoutVerifiedArguments invoke(Method method)
                                      throws Exception
Verify calls to the specific method.

Throws:
Exception - If something unexpected goes wrong.

invoke

void invoke(String methodToVerify,
            Object... arguments)
            throws Exception
Verify a private method call by specifying the method name of the method to verify.

Throws:
Exception - If something unexpected goes wrong.
See Also:
Mockito#invoke(Object)}


Copyright © 2007-2011. All Rights Reserved.