test_class.declarator: delegate
test_class.modifier: @Mock public
test_class.original_string: @Mock public BatchEvaluationStrategy<ResourcePool> delegate;
test_class.type: BatchEvaluationStrategy<ResourcePool>
test_class.var_name: delegate
test_class.declarator: collection
test_class.modifier: @Mock public
test_class.original_string: @Mock public ProtocolCollection<ResourcePool> collection;
test_class.type: ProtocolCollection<ResourcePool>
test_class.var_name: collection
test_class.file: core/src/test/java/dk/alexandra/fresco/logging/BatchEvaluationLoggingDecoratorTest.java
test_class.identifier: BatchEvaluationLoggingDecoratorTest
test_case.body: @Test
    public void reset() {
      BatchEvaluationLoggingDecorator<ResourcePool> decorator =
          new BatchEvaluationLoggingDecorator<>(delegate);
  
      decorator.processBatch(collection, mock(ResourcePool.class), mock(NetworkBatchDecorator.class));
      Assert.assertEquals(1, decorator.getLoggedValues().get("AMOUNT_OF_BATCHES").intValue());
      decorator.reset();
      Assert.assertEquals(0, decorator.getLoggedValues().get("AMOUNT_OF_BATCHES").intValue());
    }
test_case.class_method_signature: BatchEvaluationLoggingDecoratorTest.reset()
test_case.full_signature: @Test public void reset()
test_case.identifier: reset
test_case.invocations: processBatch mock mock assertEquals intValue get getLoggedValues reset assertEquals intValue get getLoggedValues
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void reset()
focal_class.declarator: BATCH_COUNTER = "AMOUNT_OF_BATCHES"
focal_class.modifier: public static final
focal_class.original_string: public static final String BATCH_COUNTER = "AMOUNT_OF_BATCHES";
focal_class.type: String
focal_class.var_name: BATCH_COUNTER
focal_class.declarator: BATCH_NATIVE_PROTOCOLS = "TOTAL_AMOUNT"
focal_class.modifier: public static final
focal_class.original_string: public static final String BATCH_NATIVE_PROTOCOLS = "TOTAL_AMOUNT";
focal_class.type: String
focal_class.var_name: BATCH_NATIVE_PROTOCOLS
focal_class.declarator: BATCH_MIN_PROTOCOLS = "MIN_AMOUNT_PER_BATCH"
focal_class.modifier: public static final
focal_class.original_string: public static final String BATCH_MIN_PROTOCOLS = "MIN_AMOUNT_PER_BATCH";
focal_class.type: String
focal_class.var_name: BATCH_MIN_PROTOCOLS
focal_class.declarator: BATCH_MAX_PROTOCOLS = "MAX_AMOUNT_PER_BATCH"
focal_class.modifier: public static final
focal_class.original_string: public static final String BATCH_MAX_PROTOCOLS = "MAX_AMOUNT_PER_BATCH";
focal_class.type: String
focal_class.var_name: BATCH_MAX_PROTOCOLS
focal_class.declarator: delegate
focal_class.modifier: private
focal_class.original_string: private BatchEvaluationStrategy<ResourcePoolT> delegate;
focal_class.type: BatchEvaluationStrategy<ResourcePoolT>
focal_class.var_name: delegate
focal_class.declarator: counter = 0
focal_class.modifier: private
focal_class.original_string: private long counter = 0;
focal_class.type: long
focal_class.var_name: counter
focal_class.declarator: noNativeProtocols = 0
focal_class.modifier: private
focal_class.original_string: private long noNativeProtocols = 0;
focal_class.type: long
focal_class.var_name: noNativeProtocols
focal_class.declarator: minNoNativeProtocolsPerBatch = Integer.MAX_VALUE
focal_class.modifier: private
focal_class.original_string: private long minNoNativeProtocolsPerBatch = Integer.MAX_VALUE;
focal_class.type: long
focal_class.var_name: minNoNativeProtocolsPerBatch
focal_class.declarator: maxNoNativeProtocolsPerBatch = 0
focal_class.modifier: private
focal_class.original_string: private long maxNoNativeProtocolsPerBatch = 0;
focal_class.type: long
focal_class.var_name: maxNoNativeProtocolsPerBatch
focal_class.file: core/src/main/java/dk/alexandra/fresco/logging/BatchEvaluationLoggingDecorator.java
focal_class.identifier: BatchEvaluationLoggingDecorator
focal_class.interfaces: implements BatchEvaluationStrategy<ResourcePoolT>, PerformanceLogger
focal_class.class_method_signature: BatchEvaluationLoggingDecorator.BatchEvaluationLoggingDecorator(
        BatchEvaluationStrategy<ResourcePoolT> batchEvaluation)
focal_class.full_signature: public  BatchEvaluationLoggingDecorator(
        BatchEvaluationStrategy<ResourcePoolT> batchEvaluation)
focal_class.identifier: BatchEvaluationLoggingDecorator
focal_class.modifiers: public
focal_class.parameters: (
        BatchEvaluationStrategy<ResourcePoolT> batchEvaluation)
focal_class.signature:  BatchEvaluationLoggingDecorator(
        BatchEvaluationStrategy<ResourcePoolT> batchEvaluation)
focal_class.class_method_signature: BatchEvaluationLoggingDecorator.processBatch(
        ProtocolCollection<ResourcePoolT> protocols, ResourcePoolT resourcePool,
        NetworkBatchDecorator network)
focal_class.full_signature: @Override public void processBatch(
        ProtocolCollection<ResourcePoolT> protocols, ResourcePoolT resourcePool,
        NetworkBatchDecorator network)
focal_class.identifier: processBatch
focal_class.modifiers: @Override public
focal_class.parameters: (
        ProtocolCollection<ResourcePoolT> protocols, ResourcePoolT resourcePool,
        NetworkBatchDecorator network)
focal_class.return: void
focal_class.signature: void processBatch(
        ProtocolCollection<ResourcePoolT> protocols, ResourcePoolT resourcePool,
        NetworkBatchDecorator network)
focal_class.class_method_signature: BatchEvaluationLoggingDecorator.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: BatchEvaluationLoggingDecorator.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() {
      counter = 0;
      noNativeProtocols = 0;
      minNoNativeProtocolsPerBatch = Integer.MAX_VALUE;
      maxNoNativeProtocolsPerBatch = 0;
    }
focal_method.class_method_signature: BatchEvaluationLoggingDecorator.reset()
focal_method.full_signature: @Override public void reset()
focal_method.identifier: reset
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void reset()