Package org.jboss.test.spring.support

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


      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

Related Classes of org.jboss.test.spring.support.OldBean

Copyright © 2018 www.massapicom. 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.