@Test
public void testToString() {

  String s = netConf.toString();
  assertTrue(s.startsWith("NetworkConfigurationImpl"));
  assertTrue(s.contains("myId=" + me.getPartyId()));
  for (int i = 1; i < netConf.noOfParties() + 1; i++) {
    assertTrue(s.contains(netConf.getParty(i).toString()));
  }
}