NetworkConfigurationImpl implements NetworkConfiguration { @Override public int getMyId() { return myId; } NetworkConfigurationImpl(int myId, Map<Integer, Party> parties); @Override Party getParty(int id); @Override int getMyId(); @Override Party getMe(); @Override int noOfParties(); @Override String toString();  }
@Test public void testGetMyId() { assertEquals(me.getPartyId(), netConf.getMyId()); }