test_class.declarator: netConf
test_class.modifier: private
test_class.original_string: private NetworkConfiguration netConf;
test_class.type: NetworkConfiguration
test_class.var_name: netConf
test_class.declarator: me
test_class.modifier: private
test_class.original_string: private Party me;
test_class.type: Party
test_class.var_name: me
test_class.declarator: myId = 3
test_class.modifier: private final
test_class.original_string: private final int myId = 3;
test_class.type: int
test_class.var_name: myId
test_class.declarator: numParties = 4
test_class.modifier: private final
test_class.original_string: private final int numParties = 4;
test_class.type: int
test_class.var_name: numParties
test_class.file: core/src/test/java/dk/alexandra/fresco/framework/configuration/TestNetworkConfigurationImpl.java
test_class.identifier: TestNetworkConfigurationImpl
test_case.body: @Test
    public void testGetParty() {
      Party p2 = netConf.getParty(2);
      assertEquals("host2", p2.getHostname());
      assertEquals(2, p2.getPartyId());
      assertEquals(3002, p2.getPort());
      Party p10 = netConf.getParty(10);
      // TODO: below might not be good behavior
      assertEquals(null, p10); 
    }
test_case.class_method_signature: TestNetworkConfigurationImpl.testGetParty()
test_case.full_signature: @Test public void testGetParty()
test_case.identifier: testGetParty
test_case.invocations: getParty assertEquals getHostname assertEquals getPartyId assertEquals getPort getParty assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetParty()
focal_class.declarator: myId
focal_class.modifier: private final
focal_class.original_string: private final int myId;
focal_class.type: int
focal_class.var_name: myId
focal_class.declarator: parties
focal_class.modifier: private final
focal_class.original_string: private final Map<Integer, Party> parties;
focal_class.type: Map<Integer, Party>
focal_class.var_name: parties
focal_class.file: core/src/main/java/dk/alexandra/fresco/framework/configuration/NetworkConfigurationImpl.java
focal_class.identifier: NetworkConfigurationImpl
focal_class.interfaces: implements NetworkConfiguration
focal_class.class_method_signature: NetworkConfigurationImpl.NetworkConfigurationImpl(int myId, Map<Integer, Party> parties)
focal_class.full_signature: public  NetworkConfigurationImpl(int myId, Map<Integer, Party> parties)
focal_class.identifier: NetworkConfigurationImpl
focal_class.modifiers: public
focal_class.parameters: (int myId, Map<Integer, Party> parties)
focal_class.signature:  NetworkConfigurationImpl(int myId, Map<Integer, Party> parties)
focal_class.class_method_signature: NetworkConfigurationImpl.getParty(int id)
focal_class.full_signature: @Override public Party getParty(int id)
focal_class.identifier: getParty
focal_class.modifiers: @Override public
focal_class.parameters: (int id)
focal_class.return: Party
focal_class.signature: Party getParty(int id)
focal_class.class_method_signature: NetworkConfigurationImpl.getMyId()
focal_class.full_signature: @Override public int getMyId()
focal_class.identifier: getMyId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMyId()
focal_class.class_method_signature: NetworkConfigurationImpl.getMe()
focal_class.full_signature: @Override public Party getMe()
focal_class.identifier: getMe
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Party
focal_class.signature: Party getMe()
focal_class.class_method_signature: NetworkConfigurationImpl.noOfParties()
focal_class.full_signature: @Override public int noOfParties()
focal_class.identifier: noOfParties
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int noOfParties()
focal_class.class_method_signature: NetworkConfigurationImpl.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: NetworkConfigurationImpl.checkAddressesUnique(Map<Integer, Party> parties)
focal_class.full_signature: private static void checkAddressesUnique(Map<Integer, Party> parties)
focal_class.identifier: checkAddressesUnique
focal_class.modifiers: private static
focal_class.parameters: (Map<Integer, Party> parties)
focal_class.return: void
focal_class.signature: void checkAddressesUnique(Map<Integer, Party> parties)
focal_method.body: @Override
    public Party getParty(int id) {
      return parties.get(id);
    }
focal_method.class_method_signature: NetworkConfigurationImpl.getParty(int id)
focal_method.full_signature: @Override public Party getParty(int id)
focal_method.identifier: getParty
focal_method.invocations: get
focal_method.modifiers: @Override public
focal_method.parameters: (int id)
focal_method.return: Party
focal_method.signature: Party getParty(int id)