code: public static synchronized void reset(Class<?>... classMocks) {
          for (Class<?> type : classMocks) {
              final MethodInvocationControl invocationHandler = MockRepository.getStaticMethodInvocationControl(type);
              if (invocationHandler != null) {
                  invocationHandler.reset();
              }
              NewInvocationControl<?> newInvocationControl = MockRepository.getNewInstanceControl(type);
              if (newInvocationControl != null) {
                  try {
                      newInvocationControl.reset();
                  } catch (AssertionError e) {
                      NewInvocationControlAssertionError.throwAssertionErrorForNewSubstitutionFailure(e, type);
                  }
              }
          }
      }
docs: Reset a list of class mocks.