- public void testInstantiation() {
- ReflectiveExceptionMapper<GoodException> mapper = ReflectiveExceptionMapper.create("instantiation",
- GoodException.class);
-
- final Throwable cause = new Throwable("some test message");
-
- GoodException ret = mapper.apply(new ExecutionException("test", cause));
+ void testInstantiation() {
+ final var mapper = ReflectiveExceptionMapper.create("instantiation", GoodException.class);
+ final var cause = new Throwable("some test message");
+ final var ret = mapper.apply(new ExecutionException("test", cause));