@Test
public void testSetGetCommands() throws Exception {

    String sctpServerCommand = "sctp set connectdelay 21500";
    String result = this.sctpShellExecutor.execute(sctpServerCommand.split(" "));
    assertEquals(result, String.format(M3UAOAMMessages.PARAMETER_SUCCESSFULLY_SET, "TestSCTP1"));
    assertEquals(21500, this.management1.getConnectDelay());
    sctpServerCommand = "sctp set connectdelay 21501 stackname TestSCTP2";
    result = this.sctpShellExecutor.execute(sctpServerCommand.split(" "));
    assertEquals(result, String.format(M3UAOAMMessages.PARAMETER_SUCCESSFULLY_SET, "TestSCTP2"));
    assertEquals(21501, this.management2.getConnectDelay());
    sctpServerCommand = "sctp set workerthreads 12";
    result = this.sctpShellExecutor.execute(sctpServerCommand.split(" "));
    assertEquals(result, String.format(M3UAOAMMessages.PARAMETER_SUCCESSFULLY_SET, "TestSCTP2"));
    assertEquals(12, this.management2.getWorkerThreads());
    sctpServerCommand = "sctp get workerthreads";
    result = this.sctpShellExecutor.execute(sctpServerCommand.split(" "));
    System.out.println(result);
    assertTrue(result.contains("TestSCTP2") && result.contains("workerthreads") && result.contains("12"));
    sctpServerCommand = "sctp get";
    result = this.sctpShellExecutor.execute(sctpServerCommand.split(" "));
    System.out.println(result);
    assertTrue(result.contains("TestSCTP1") && result.contains("TestSCTP2"));
}