Class<?> clazz = Class.forName("org.mockito.exceptions.verification.junit.ArgumentsAreDifferent");
AssertionError throwable = (AssertionError) clazz.getConstructors()[0].newInstance(message, cause, wanted, actual);
return throwable;
} catch (Throwable t) {
// throw the default exception in case of problems
return new ArgumentsAreDifferent(message, cause);
}
}