@Test
public void testLocalEIDConfiguration() {

    try {
        Eid testEid = new DtnEid("test");
        CoreConfiguration conf = new CoreConfiguration();
        conf.<Eid>get(ConfigurationApi.CoreEntry.LOCAL_EID).update(testEid);
        Eid localEid = conf.<Eid>get(ConfigurationApi.CoreEntry.LOCAL_EID).value();
        assertEquals(testEid.getEidString(), localEid.getEidString());
    } catch(EidFormatException ignore) {
        // sould not happen
        //todo: create a safe Eid constructor by encoding URI
    }
}