@Test
void invoke() throws InvocationTargetException, IllegalAccessException {

    final Foo foo = new Foo(0);
    final Execution.ClassMapper classMapper = new Execution.ClassMapper() {
        @Override
        public <T> T apply(Class<T> type) {
            return null;
        }
    };
    assertTrue(instance.invoke(foo, classMapper));
    assertEquals(1, foo.value);
}