void () { final BaseImpl proxy = AdvancedProxy.createProxy(BaseImpl.class, BaseIEx.class); assertEquals("a", proxy.sayA()); assertEquals("a", ((BaseI)proxy).sayA()); assertEquals("a", ((BaseIEx)proxy).sayA()); }