code: private static synchronized void verifyClass(Class<?>... types) {
          for (Class<?> type : types) {
              final EasyMockMethodInvocationControl invocationHandler = (EasyMockMethodInvocationControl) MockRepository.getStaticMethodInvocationControl(type);
              if (invocationHandler != null) {
                  invocationHandler.verify();
              }
              EasyMockNewInvocationControl<?> newInvocationControl = (EasyMockNewInvocationControl<?>) MockRepository.getNewInstanceControl(type);
              if (newInvocationControl != null) {
                  try {
                      newInvocationControl.verify();
                  } catch (AssertionError e) {
                      NewInvocationControlAssertionError.throwAssertionErrorForNewSubstitutionFailure(e, type);
                  }
              }
          }
      }
docs: Note: doesn't clear PowerMock state.