*/
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();