Examples of IThing


Examples of org.jboss.test.javassist.test.support.IThing

      factory.setHandler(handler);
      Class[] ifaces = {IThing.class};
      factory.setInterfaces(ifaces);
      Class[] sig = {};
      Object[] args = {};
      IThing proxy = (IThing) factory.create(sig, args);
      proxy.method1();
      assertEquals("method1Count", 1, athing.getMethod1Count());
      proxy.method2("testInterfaceProxy");
      assertEquals("method2Count", 1, athing.getMethod2Count());
      proxy.method3(proxy);
      assertEquals("method3Count", 1, athing.getMethod3Count());
      assertEquals("method2Count", 2, athing.getMethod2Count());
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.