Package org.jboss.weld.test.util

Examples of org.jboss.weld.test.util.ActionSequence.containsAll()


        bean.destroy(master, ctx);

        ActionSequence init = ActionSequence.getSequence("init");
        assertNotNull(init);
        assertEquals(2, init.getData().size());
        assertTrue(init.containsAll(Alpha.class.getName(), Bravo.class.getName()));

        ActionSequence destroy = ActionSequence.getSequence("destroy");
        assertNotNull(destroy);
        assertEquals(2, destroy.getData().size());
        assertTrue(destroy.containsAll(Alpha.class.getName(), Bravo.class.getName()));
View Full Code Here


        assertTrue(init.containsAll(Alpha.class.getName(), Bravo.class.getName()));

        ActionSequence destroy = ActionSequence.getSequence("destroy");
        assertNotNull(destroy);
        assertEquals(2, destroy.getData().size());
        assertTrue(destroy.containsAll(Alpha.class.getName(), Bravo.class.getName()));
    }

    @Test
    public void testRemoveNotSupported() {
        Bean<Master> bean = Utils.getBean(beanManager, Master.class);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.