test_class.declarator: firstArgument
test_class.modifier: private
test_class.original_string: private DRes<SBool> firstArgument;
test_class.type: DRes<SBool>
test_class.var_name: firstArgument
test_class.declarator: secondArgument
test_class.modifier: private
test_class.original_string: private int secondArgument;
test_class.type: int
test_class.var_name: secondArgument
test_class.file: core/src/test/java/dk/alexandra/fresco/logging/binary/BinaryLoggingDecoratorTest.java
test_class.identifier: BinaryLoggingDecoratorTest
test_case.body: @Test
    public void open() {
      Binary binary = mock(Binary.class);
      when(binary.open(any(DRes.class), any(int.class)))
          .then(
              invocationOnMock -> {
                firstArgument = invocationOnMock.getArgument(0);
                secondArgument = invocationOnMock.getArgument(1);
                return null;
              });
  
      BinaryLoggingDecorator decorator = new BinaryLoggingDecorator(binary);
      DRes<SBool> toOpen = mock(DRes.class);
      decorator.open(toOpen, 2);
  
      Assert.assertEquals(toOpen, firstArgument);
      Assert.assertEquals(2, secondArgument);
    }
test_case.class_method_signature: BinaryLoggingDecoratorTest.open()
test_case.full_signature: @Test public void open()
test_case.identifier: open
test_case.invocations: mock then when open any any getArgument getArgument mock open assertEquals assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void open()
focal_class.declarator: BINARY_BASIC_XOR = "XOR_COUNT"
focal_class.modifier: public static final
focal_class.original_string: public static final String BINARY_BASIC_XOR = "XOR_COUNT";
focal_class.type: String
focal_class.var_name: BINARY_BASIC_XOR
focal_class.declarator: BINARY_BASIC_AND = "AND_COUNT"
focal_class.modifier: public static final
focal_class.original_string: public static final String BINARY_BASIC_AND = "AND_COUNT";
focal_class.type: String
focal_class.var_name: BINARY_BASIC_AND
focal_class.declarator: BINARY_BASIC_RANDOM = "RANDOM_BIT_COUNT"
focal_class.modifier: public static final
focal_class.original_string: public static final String BINARY_BASIC_RANDOM = "RANDOM_BIT_COUNT";
focal_class.type: String
focal_class.var_name: BINARY_BASIC_RANDOM
focal_class.declarator: xorCount
focal_class.modifier: private
focal_class.original_string: private long xorCount;
focal_class.type: long
focal_class.var_name: xorCount
focal_class.declarator: andCount
focal_class.modifier: private
focal_class.original_string: private long andCount;
focal_class.type: long
focal_class.var_name: andCount
focal_class.declarator: randBitCount
focal_class.modifier: private
focal_class.original_string: private long randBitCount;
focal_class.type: long
focal_class.var_name: randBitCount
focal_class.declarator: delegate
focal_class.modifier: private
focal_class.original_string: private Binary delegate;
focal_class.type: Binary
focal_class.var_name: delegate
focal_class.file: core/src/main/java/dk/alexandra/fresco/logging/binary/BinaryLoggingDecorator.java
focal_class.identifier: BinaryLoggingDecorator
focal_class.interfaces: implements PerformanceLogger, Binary
focal_class.class_method_signature: BinaryLoggingDecorator.BinaryLoggingDecorator(Binary delegate)
focal_class.full_signature: public  BinaryLoggingDecorator(Binary delegate)
focal_class.identifier: BinaryLoggingDecorator
focal_class.modifiers: public
focal_class.parameters: (Binary delegate)
focal_class.signature:  BinaryLoggingDecorator(Binary delegate)
focal_class.class_method_signature: BinaryLoggingDecorator.known(boolean known)
focal_class.full_signature: @Override public DRes<SBool> known(boolean known)
focal_class.identifier: known
focal_class.modifiers: @Override public
focal_class.parameters: (boolean known)
focal_class.return: DRes<SBool>
focal_class.signature: DRes<SBool> known(boolean known)
focal_class.class_method_signature: BinaryLoggingDecorator.input(boolean in, int inputter)
focal_class.full_signature: @Override public DRes<SBool> input(boolean in, int inputter)
focal_class.identifier: input
focal_class.modifiers: @Override public
focal_class.parameters: (boolean in, int inputter)
focal_class.return: DRes<SBool>
focal_class.signature: DRes<SBool> input(boolean in, int inputter)
focal_class.class_method_signature: BinaryLoggingDecorator.randomBit()
focal_class.full_signature: @Override public DRes<SBool> randomBit()
focal_class.identifier: randomBit
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: DRes<SBool>
focal_class.signature: DRes<SBool> randomBit()
focal_class.class_method_signature: BinaryLoggingDecorator.open(DRes<SBool> toOpen)
focal_class.full_signature: @Override public DRes<Boolean> open(DRes<SBool> toOpen)
focal_class.identifier: open
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SBool> toOpen)
focal_class.return: DRes<Boolean>
focal_class.signature: DRes<Boolean> open(DRes<SBool> toOpen)
focal_class.class_method_signature: BinaryLoggingDecorator.open(DRes<SBool> toOpen, int towardsPartyId)
focal_class.full_signature: @Override public DRes<Boolean> open(DRes<SBool> toOpen, int towardsPartyId)
focal_class.identifier: open
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SBool> toOpen, int towardsPartyId)
focal_class.return: DRes<Boolean>
focal_class.signature: DRes<Boolean> open(DRes<SBool> toOpen, int towardsPartyId)
focal_class.class_method_signature: BinaryLoggingDecorator.and(DRes<SBool> left, DRes<SBool> right)
focal_class.full_signature: @Override public DRes<SBool> and(DRes<SBool> left, DRes<SBool> right)
focal_class.identifier: and
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SBool> left, DRes<SBool> right)
focal_class.return: DRes<SBool>
focal_class.signature: DRes<SBool> and(DRes<SBool> left, DRes<SBool> right)
focal_class.class_method_signature: BinaryLoggingDecorator.xor(DRes<SBool> left, DRes<SBool> right)
focal_class.full_signature: @Override public DRes<SBool> xor(DRes<SBool> left, DRes<SBool> right)
focal_class.identifier: xor
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SBool> left, DRes<SBool> right)
focal_class.return: DRes<SBool>
focal_class.signature: DRes<SBool> xor(DRes<SBool> left, DRes<SBool> right)
focal_class.class_method_signature: BinaryLoggingDecorator.not(DRes<SBool> in)
focal_class.full_signature: @Override public DRes<SBool> not(DRes<SBool> in)
focal_class.identifier: not
focal_class.modifiers: @Override public
focal_class.parameters: (DRes<SBool> in)
focal_class.return: DRes<SBool>
focal_class.signature: DRes<SBool> not(DRes<SBool> in)
focal_class.class_method_signature: BinaryLoggingDecorator.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: BinaryLoggingDecorator.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 DRes<Boolean> open(DRes<SBool> toOpen) {
      return this.delegate.open(toOpen);
    }
focal_method.class_method_signature: BinaryLoggingDecorator.open(DRes<SBool> toOpen)
focal_method.full_signature: @Override public DRes<Boolean> open(DRes<SBool> toOpen)
focal_method.identifier: open
focal_method.invocations: open
focal_method.modifiers: @Override public
focal_method.parameters: (DRes<SBool> toOpen)
focal_method.return: DRes<Boolean>
focal_method.signature: DRes<Boolean> open(DRes<SBool> toOpen)