@Test(groups = { "oam", "functional.mgmt" })

public void testRsp() {
    String rspCmd = "sccp rsp create 1 11 0 0";
    String res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertEquals(this.sccpResource.getRemoteSpcs().size(), 1);
    RemoteSignalingPointCode spc = this.sccpResource.getRemoteSpc(1);
    assertEquals(spc.getRemoteSpc(), 11);
    // test show
    rspCmd = "sccp rsp show";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertEquals(res, "key=1  rsp=11 rsp-flag=0 mask=0 rsp-prohibited=false rsccp-prohibited=false\n");
    rspCmd = "sccp rsp create 1 12 0 0";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertTrue(res.equals(SccpOAMMessage.RSPC_ALREADY_EXIST));
    assertEquals(this.sccpResource.getRemoteSpcs().size(), 1);
    spc = this.sccpResource.getRemoteSpc(1);
    assertEquals(spc.getRemoteSpc(), 11);
    rspCmd = "sccp rsp modify 2 12 0 0";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertTrue(res.equals(String.format(SccpOAMMessage.RSPC_DOESNT_EXIST, this.sccpStack.getName())));
    assertEquals(this.sccpResource.getRemoteSpcs().size(), 1);
    spc = this.sccpResource.getRemoteSpc(1);
    assertEquals(spc.getRemoteSpc(), 11);
    rspCmd = "sccp rsp modify 1 12 0 0";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertEquals(this.sccpResource.getRemoteSpcs().size(), 1);
    spc = this.sccpResource.getRemoteSpc(1);
    assertEquals(spc.getRemoteSpc(), 12);
    rspCmd = "sccp rsp show 1";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    rspCmd = "sccp rsp show";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    rspCmd = "sccp rsp delete 5";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertTrue(res.equals(String.format(SccpOAMMessage.RSPC_DOESNT_EXIST, this.sccpStack.getName())));
    assertEquals(this.sccpResource.getRemoteSpcs().size(), 1);
    spc = this.sccpResource.getRemoteSpc(1);
    assertEquals(spc.getRemoteSpc(), 12);
    rspCmd = "sccp rsp delete 1";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertEquals(this.sccpResource.getRemoteSpcs().size(), 0);
}