Package com.consol.citrus.actions

Examples of com.consol.citrus.actions.StopServerAction


   
    Assert.assertEquals(builder.testCase().getActions().size(), 2);
    Assert.assertEquals(builder.testCase().getActions().get(0).getClass(), StopServerAction.class);
    Assert.assertEquals(builder.testCase().getActions().get(1).getClass(), StopServerAction.class);
   
    StopServerAction action = (StopServerAction)builder.testCase().getActions().get(0);
    Assert.assertEquals(action.getName(), "stop-server");
    Assert.assertEquals(action.getServer(), testServer);
   
    action = (StopServerAction)builder.testCase().getActions().get(1);
        Assert.assertEquals(action.getName(), "stop-server");
    Assert.assertEquals(action.getServerList().size(), 3);
    Assert.assertEquals(action.getServerList().toString(), "[" + server1.toString() + ", " + server2.toString() + ", " + server3.toString() + "]");
  }
View Full Code Here

TOP

Related Classes of com.consol.citrus.actions.StopServerAction

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.