test_class.file: core/src/test/java/dk/alexandra/fresco/logging/NetworkLoggingDecoratorTest.java
test_class.identifier: NetworkLoggingDecoratorTest
test_case.body: @Test
    public void reset() {
      HashMap<Integer, PartyStats> partyStatsMap = mock(HashMap.class);
      NetworkLoggingDecorator decorator = new NetworkLoggingDecorator(mock(Network.class), partyStatsMap);
      decorator.reset();
  
      verify(partyStatsMap, times(1)).clear();
    }
test_case.class_method_signature: NetworkLoggingDecoratorTest.reset()
test_case.full_signature: @Test public void reset()
test_case.identifier: reset
test_case.invocations: mock mock reset clear verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void reset()
focal_class.declarator: NETWORK_PARTY_BYTES = "Amount of bytes received pr. party"
focal_class.modifier: public static final
focal_class.original_string: public static final String NETWORK_PARTY_BYTES = "Amount of bytes received pr. party";
focal_class.type: String
focal_class.var_name: NETWORK_PARTY_BYTES
focal_class.declarator: NETWORK_TOTAL_BYTES = "Total amount of bytes received"
focal_class.modifier: public static final
focal_class.original_string: public static final String NETWORK_TOTAL_BYTES = "Total amount of bytes received";
focal_class.type: String
focal_class.var_name: NETWORK_TOTAL_BYTES
focal_class.declarator: NETWORK_TOTAL_BATCHES = "Total amount of batches received"
focal_class.modifier: public static final
focal_class.original_string: public static final String NETWORK_TOTAL_BATCHES = "Total amount of batches received";
focal_class.type: String
focal_class.var_name: NETWORK_TOTAL_BATCHES
focal_class.declarator: delegate
focal_class.modifier: private
focal_class.original_string: private Network delegate;
focal_class.type: Network
focal_class.var_name: delegate
focal_class.declarator: partyStatsMap
focal_class.modifier: private
focal_class.original_string: private Map<Integer, PartyStats> partyStatsMap;
focal_class.type: Map<Integer, PartyStats>
focal_class.var_name: partyStatsMap
focal_class.file: core/src/main/java/dk/alexandra/fresco/logging/NetworkLoggingDecorator.java
focal_class.identifier: NetworkLoggingDecorator
focal_class.interfaces: implements Network, PerformanceLogger, Closeable
focal_class.class_method_signature: NetworkLoggingDecorator.NetworkLoggingDecorator(Network network)
focal_class.full_signature: public  NetworkLoggingDecorator(Network network)
focal_class.identifier: NetworkLoggingDecorator
focal_class.modifiers: public
focal_class.parameters: (Network network)
focal_class.signature:  NetworkLoggingDecorator(Network network)
focal_class.class_method_signature: NetworkLoggingDecorator.NetworkLoggingDecorator(Network network, Map<Integer, PartyStats> partyStatsMap)
focal_class.full_signature: protected  NetworkLoggingDecorator(Network network, Map<Integer, PartyStats> partyStatsMap)
focal_class.identifier: NetworkLoggingDecorator
focal_class.modifiers: protected
focal_class.parameters: (Network network, Map<Integer, PartyStats> partyStatsMap)
focal_class.signature:  NetworkLoggingDecorator(Network network, Map<Integer, PartyStats> partyStatsMap)
focal_class.class_method_signature: NetworkLoggingDecorator.receive(int partyId)
focal_class.full_signature: @Override public byte[] receive(int partyId)
focal_class.identifier: receive
focal_class.modifiers: @Override public
focal_class.parameters: (int partyId)
focal_class.return: byte[]
focal_class.signature: byte[] receive(int partyId)
focal_class.class_method_signature: NetworkLoggingDecorator.getNoOfParties()
focal_class.full_signature: @Override public int getNoOfParties()
focal_class.identifier: getNoOfParties
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getNoOfParties()
focal_class.class_method_signature: NetworkLoggingDecorator.send(int partyId, byte[] data)
focal_class.full_signature: @Override public void send(int partyId, byte[] data)
focal_class.identifier: send
focal_class.modifiers: @Override public
focal_class.parameters: (int partyId, byte[] data)
focal_class.return: void
focal_class.signature: void send(int partyId, byte[] data)
focal_class.class_method_signature: NetworkLoggingDecorator.reset()
focal_class.full_signature: @Override public void reset()
focal_class.identifier: reset
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void reset()
focal_class.class_method_signature: NetworkLoggingDecorator.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: NetworkLoggingDecorator.getLoggedValues()
focal_class.full_signature: @Override public Map<String, Long> getLoggedValues()
focal_class.identifier: getLoggedValues
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, Long>
focal_class.signature: Map<String, Long> getLoggedValues()
focal_method.body: @Override
    public void reset() {
      partyStatsMap.clear();
    }
focal_method.class_method_signature: NetworkLoggingDecorator.reset()
focal_method.full_signature: @Override public void reset()
focal_method.identifier: reset
focal_method.invocations: clear
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void reset()