NetworkConfigurationImpl implements NetworkConfiguration { @Override public int noOfParties() { return parties.size(); } 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 testNoOfParties() { assertEquals(numParties, netConf.noOfParties()); }