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

public void testConcernedSpc() {
    String rspCmd = "sccp csp create 3 21";
    String res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertEquals(this.sccpResource.getConcernedSpcs().size(), 1);
    ConcernedSignalingPointCode cspc = this.sccpResource.getConcernedSpc(3);
    assertEquals(cspc.getRemoteSpc(), 21);
    // Show test
    rspCmd = "sccp csp show";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertEquals(res, "key=3  rsp=21\n");
    rspCmd = "sccp csp create 3 22";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertTrue(res.equals(SccpOAMMessage.CS_ALREADY_EXIST),res);
    assertEquals(this.sccpResource.getConcernedSpcs().size(), 1);
    cspc = this.sccpResource.getConcernedSpc(3);
    assertEquals(cspc.getRemoteSpc(), 21);
    rspCmd = "sccp csp modify 3 23";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertEquals(this.sccpResource.getConcernedSpcs().size(), 1);
    cspc = this.sccpResource.getConcernedSpc(3);
    assertEquals(cspc.getRemoteSpc(), 23);
    rspCmd = "sccp csp modify 33 24";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertTrue(res.equals(String.format(SccpOAMMessage.CS_DOESNT_EXIST, this.sccpStack.getName())));
    assertEquals(this.sccpResource.getConcernedSpcs().size(), 1);
    cspc = this.sccpResource.getConcernedSpc(3);
    assertEquals(cspc.getRemoteSpc(), 23);
    rspCmd = "sccp csp show 3";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    rspCmd = "sccp csp show";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    rspCmd = "sccp csp delete 33";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertTrue(res.equals(String.format(SccpOAMMessage.CS_DOESNT_EXIST, this.sccpStack.getName())));
    assertEquals(this.sccpResource.getConcernedSpcs().size(), 1);
    cspc = this.sccpResource.getConcernedSpc(3);
    assertEquals(cspc.getRemoteSpc(), 23);
    rspCmd = "sccp csp delete 3";
    res = this.sccpExecutor.execute(rspCmd.split(" "));
    assertEquals(this.sccpResource.getConcernedSpcs().size(), 0);
}