Package org.lilyproject.runtime.test.testmodules.confmod

Examples of org.lilyproject.runtime.test.testmodules.confmod.ConfDependentBean


        Assert.assertEquals(599, conf.getChild("delay").getValueAsInteger());

        String confTestBean1 = (String)appContext.getBean("confTestBean1");
        Assert.assertEquals("foobar@hotmail.com", confTestBean1);

        ConfDependentBean confTestBean2 = (ConfDependentBean)appContext.getBean("confTestBean2");
        Assert.assertNotNull(confTestBean2.getConf());
        assertEquals("foobar@hotmail.com", confTestBean2.getConf().getChild("email").getValue());

        String confTestBean3 = (String)appContext.getBean("confTestBean3");
        Assert.assertEquals("foobar@hotmail.com", confTestBean3);
    }
View Full Code Here

TOP

Related Classes of org.lilyproject.runtime.test.testmodules.confmod.ConfDependentBean

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.