@Test
public void testClaStcpEid() {

    System.out.println("[+] eid: testing BaseClaEid Scheme");
    try {
        BaseClaEid cla = new ClaStcpEid("google.com", 4556, "/");
        assertEquals("cla:stcp:google.com:4556/", cla.getEidString());
        assertEquals("stcp", cla.claName);
        assertEquals("google.com:4556", cla.claSpecific);
        assertEquals("/", cla.claSink);
        Eid eid = (new ClaStcpEidParser()).create("stcp","google.com:4556", "");
        Eid path = (new ClaStcpEidParser()).create("stcp", "google.com:4556", "/pingservice");
        assertEquals("cla:stcp:google.com:4556", eid.getEidString());
        assertEquals("cla:stcp:google.com:4556/pingservice", path.getEidString());
        assertTrue(path.matches(eid));
    } catch (EidFormatException eid) {
        fail(eid.getMessage());
    }
}