Package org.picocontainer.testmodel

Examples of org.picocontainer.testmodel.DecoratedTouchable


                                            new IsType(DecoratedTouchable.class)))
        });

        DependsOnList dol = (DependsOnList) container.getComponentInstance(DependsOnList.class);
        AlternativeTouchable at = (AlternativeTouchable) container.getComponentInstance(AlternativeTouchable.class);
        DecoratedTouchable dt = (DecoratedTouchable) container.getComponentInstance(DecoratedTouchable.class);
        assertNotNull(dol);
        List dependencies = dol.getDependencies();
        assertEquals(2, dependencies.size());
        assertTrue(dependencies.contains(at));
        assertTrue(dependencies.contains(dt));
View Full Code Here

TOP

Related Classes of org.picocontainer.testmodel.DecoratedTouchable

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.