Examples of OldBean


Examples of org.jboss.test.spring.support.OldBean

   public void testInjection() throws Exception
   {
      SimpleBean simpleBean = (SimpleBean) getBean("testBean", ControllerState.INSTANTIATED);
      assertNotNull(simpleBean);
      OldBean oldBean = simpleBean.getRefBean();
      assertNotNull(oldBean);
      assertEquals(oldBean.getJavaBeanString(), "JavaBean");
   }
View Full Code Here

Examples of org.jboss.test.spring.support.OldBean

      return suite(InstantiateMixedTestCase.class);
   }

   public void testInjection() throws Exception
   {
      OldBean oldBean = (OldBean) getBean("oldBean");
      assertNotNull(oldBean);
      SimpleBean testBean = oldBean.getTestBean();
      assertNotNull(testBean);
      assertFalse(testBean.getMylist().isEmpty());
      assertEquals(testBean.getMylist().size(), 3);
   }
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.