@Override
    public void execute() {
        invokeMethod();
    }
@Test
    void can_create_with_no_argument() throws Throwable {
        Method method = JavaStaticHookDefinitionTest.class.getMethod("no_arguments");
        JavaStaticHookDefinition definition = new JavaStaticHookDefinition(method, 0, lookup);
        definition.execute();
        assertTrue(invoked);
    }