Examples of someAction()


Examples of org.jboss.test.aop.mcjndi.PojoInterface.someAction()

      Context ctx = getInitialContext();
      PojoInterface pojo = (PojoInterface)ctx.lookup(AnnotatedPojo.NAME);
      pojo.setProperty(39);
      assertEquals(39, pojo.getProperty());
     
      Object ret = pojo.someAction();
      assertEquals("JNDI-Annotated-39", ret);
   }
  
   public void testXml() throws Exception
   {
View Full Code Here

Examples of org.jboss.test.aop.mcjndi.PojoInterface.someAction()

      Context ctx = getInitialContext();
      PojoInterface pojo = (PojoInterface)ctx.lookup("pojo/XmlBean");
      pojo.setProperty(49);
      assertEquals(49, pojo.getProperty());
     
      Object ret = pojo.someAction();
      assertEquals("JNDI-XML-49", ret);     
   }
  
   public static Test suite() throws Exception
   {
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.