Package org.jboss.test.kernel.inject.support

Examples of org.jboss.test.kernel.inject.support.TesterInterface


   protected void checkInjection()
   {
      PropertyInjectTestObject test1 = (PropertyInjectTestObject) getBean("testObject1");
      PropertyInjectTestObject test2 = (PropertyInjectTestObject) getBean("testObject2");

      TesterInterface ignored = (TesterInterface)getBean("ignored");
      assertNotNull(ignored);
      TesterInterface used = (TesterInterface)getBean("used");
      assertNotNull(used);
      assertEquals(used, test1.getTesterInterface());

      assertNull(test2.getDuplicateTester());
   }
View Full Code Here


   protected void checkInjection()
   {
      GenericsTestObject testBean = (GenericsTestObject)getBean("testObject");
      assertNotNull(testBean);
      TesterInterface tester = (TesterInterface)getBean("duplicateTester");
      checkCollection(testBean.getCollection(), tester);
      checkCollection(testBean.getList(), tester);
      checkCollection(testBean.getSet(), tester);
      assertNotNull(testBean.getGeneric());
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.kernel.inject.support.TesterInterface

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.