assertThat(listener.data.getTarget().getInvocation().getMethod()).isEqualTo(wantedMethod);
return true;
}
};
}
<BUG>public static class RuntimeExceptionVerificationMode implements VerificationMode {
</BUG>
@Override
public void verify(VerificationData data) {
throw new RuntimeException();

assertThat(listener.data.getTarget().getInvocation().getMethod()).isEqualTo(wantedMethod);
return true;
}
};
}
private static class RuntimeExceptionVerificationMode implements VerificationMode {
@Override
public void verify(VerificationData data) {
throw new RuntimeException();
