Package com.consol.citrus.container

Examples of com.consol.citrus.container.Conditional


       
        assertEquals(builder.testCase().getActions().size(), 1);
        assertEquals(builder.testCase().getActions().get(0).getClass(), Conditional.class);
        assertEquals(builder.testCase().getActions().get(0).getName(), "conditional");
       
        Conditional container = (Conditional)builder.testCase().getActions().get(0);
        assertEquals(container.getActions().size(), 1);
        assertEquals(container.getExpression(), "${var} = 5");
    }
View Full Code Here


    public void testFailActionParser() {

        this.assertActionCount(1);
        this.assertActionClassAndName(Conditional.class, "conditional");

        final Conditional action = this.getNextTestActionFromTest();
        Assert.assertEquals(action.getActionCount(), 2);
    }
View Full Code Here

TOP

Related Classes of com.consol.citrus.container.Conditional

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.