private OngoingStubbing<T> thenThrow(Class<? extends Throwable> throwableClass) { return thenAnswer(new ThrowsExceptionClass(throwableClass)); }