    @Test
    public void testInterface() {

        final MethodsViaProxy<I> methods = new MethodsViaProxy<I>(I.class, new NativeProxyBuilder<>());
        assertEquals("m1", methods.get(I::m1).name());
        assertEquals("m2", methods.get(I::m2).name());
        assertEquals("m3", methods.get(I::m3).name());
        assertEquals("m4", methods.get(I::m4).name());
        assertEquals("m5", methods.get(I::m5).name());
        assertEquals("m6", methods.get(I::m6).name());
        final BiConsumer<I, Boolean> m7 = I::m7;
        assertEquals("m7", methods.get(m7).name());
    }