A custom extension of {@link MockAwareVerificationMode} for static methodverification. The reason for this implementation is that since Mockito 1.8.4 the verification code in Mockito {@link MockHandler#handle(org.mockito.internal.invocation.Invocation)} haschanged and the verification mode MUST be an instance of {@link MockAwareVerificationMode} for the verification to work. Sinceverifying static methods is a two step process in PowerMock we need to be able to specify the class a later state then verification start. I.e. in standard Mockito they always know the mock object when doing verify before calling the method to verify:
verify(mock).methodToVerify();
In PowerMock we don't know the class when calling verifyStatic().