Package org.apache.shale.tiger.config

Examples of org.apache.shale.tiger.config.TestBean4


    public void testListPropertiesBean() {

        Object instance = resolver.resolveVariable(facesContext, "listPropertiesBean");
        assertNotNull(instance);
        assertTrue(instance instanceof TestBean4);
        TestBean4 bean = (TestBean4) instance;

        List emptyList = bean.getEmptyList();
        assertNotNull(emptyList);
        assertTrue(emptyList instanceof ArrayList);
        assertEquals(5, emptyList.size());

        List fullList = bean.getFullList();
        assertNotNull(fullList);
        assertTrue(fullList instanceof Vector);
        assertEquals(7, fullList.size());

    }
View Full Code Here

TOP

Related Classes of org.apache.shale.tiger.config.TestBean4

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.