Package net.sf.springofeclipse.tests.stubs

Examples of net.sf.springofeclipse.tests.stubs.TestBean


    BeansExtensionPointBeanDefinitionReader reader = new BeansExtensionPointBeanDefinitionReader(
        context);
    reader.loadBeanDefinitions(context.getId());

    TestBean bean = (TestBean) context.getBean("testBean", TestBean.class);

    assertNotNull(bean);

    assertEquals(context.getBean("testBean2"), bean.getTestBeanProperty());

    assertEquals(-5, bean.getIntProperty());

    assertNotNull(bean.getPropsProperty());

    assertEquals("2", bean.getPropsProperty().getProperty("b"));

    TestBean bean3 = (TestBean) context
        .getBean("testBean3", TestBean.class);

    assertNotNull(bean3);

    assertEquals(58, bean3.getIntProperty());

  }
View Full Code Here

TOP

Related Classes of net.sf.springofeclipse.tests.stubs.TestBean

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.