test_class.declarator: ADDRESS_HEX = "2423870723421147"
test_class.modifier: private static final
test_class.original_string: private static final String ADDRESS_HEX = "2423870723421147";
test_class.type: String
test_class.var_name: ADDRESS_HEX
test_class.declarator: ADDRESS_BYTE = HexUtils.hexToBytes(ADDRESS_HEX)
test_class.modifier: private static final
test_class.original_string: private static final byte[] ADDRESS_BYTE = HexUtils.hexToBytes(ADDRESS_HEX);
test_class.type: byte[]
test_class.var_name: ADDRESS_BYTE
test_class.declarator: ADDRESS_OBJECT = SecondaryAddress.newFromWMBusLlHeader(ADDRESS_BYTE, 0)
test_class.modifier: private static final
test_class.original_string: private static final SecondaryAddress ADDRESS_OBJECT = SecondaryAddress.newFromWMBusLlHeader(ADDRESS_BYTE, 0);
test_class.type: SecondaryAddress
test_class.var_name: ADDRESS_OBJECT
test_class.declarator: KEY = new byte[] { 0x01, 0x02 }
test_class.modifier: private static final
test_class.original_string: private static final byte[] KEY = new byte[] { 0x01, 0x02 };
test_class.type: byte[]
test_class.var_name: KEY
test_class.declarator: storage = new MapKeyStorage()
test_class.modifier: private final
test_class.original_string: private final MapKeyStorage storage = new MapKeyStorage();
test_class.type: MapKeyStorage
test_class.var_name: storage
test_class.file: org.openhab.binding.wmbus/src/test/java/org/openhab/io/transport/mbus/wireless/MapKeyStorageTest.java
test_class.identifier: MapKeyStorageTest
test_case.body: @Test
      public void tesKeyUpdate() {
          testNoKey();
  
          storage.registerKey(ADDRESS_BYTE, KEY);
  
          hit(ADDRESS_BYTE, ADDRESS_OBJECT, KEY);
      }
test_case.class_method_signature: MapKeyStorageTest.tesKeyUpdate()
test_case.full_signature: @Test public void tesKeyUpdate()
test_case.identifier: tesKeyUpdate
test_case.invocations: testNoKey registerKey hit
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void tesKeyUpdate()
focal_class.declarator: keyMap = new ConcurrentHashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<SecondaryAddress, byte[]> keyMap = new ConcurrentHashMap<>();
focal_class.type: Map<SecondaryAddress, byte[]>
focal_class.var_name: keyMap
focal_class.file: org.openhab.binding.wmbus/src/main/java/org/openhab/io/transport/mbus/wireless/MapKeyStorage.java
focal_class.identifier: MapKeyStorage
focal_class.interfaces: implements KeyStorage
focal_class.class_method_signature: MapKeyStorage.lookupKey(byte[] address)
focal_class.full_signature: @Override public Optional<byte[]> lookupKey(byte[] address)
focal_class.identifier: lookupKey
focal_class.modifiers: @Override public
focal_class.parameters: (byte[] address)
focal_class.return: Optional<byte[]>
focal_class.signature: Optional<byte[]> lookupKey(byte[] address)
focal_class.class_method_signature: MapKeyStorage.registerKey(byte[] address, byte[] key)
focal_class.full_signature: @Override public void registerKey(byte[] address, byte[] key)
focal_class.identifier: registerKey
focal_class.modifiers: @Override public
focal_class.parameters: (byte[] address, byte[] key)
focal_class.return: void
focal_class.signature: void registerKey(byte[] address, byte[] key)
focal_class.class_method_signature: MapKeyStorage.toMap()
focal_class.full_signature: @Override public Map<SecondaryAddress, byte[]> toMap()
focal_class.identifier: toMap
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<SecondaryAddress, byte[]>
focal_class.signature: Map<SecondaryAddress, byte[]> toMap()
focal_class.class_method_signature: MapKeyStorage.createKey(byte[] address)
focal_class.full_signature: private SecondaryAddress createKey(byte[] address)
focal_class.identifier: createKey
focal_class.modifiers: private
focal_class.parameters: (byte[] address)
focal_class.return: SecondaryAddress
focal_class.signature: SecondaryAddress createKey(byte[] address)
focal_method.body: @Override
      public void registerKey(byte[] address, byte[] key) {
          keyMap.put(createKey(address), key);
      }
focal_method.class_method_signature: MapKeyStorage.registerKey(byte[] address, byte[] key)
focal_method.full_signature: @Override public void registerKey(byte[] address, byte[] key)
focal_method.identifier: registerKey
focal_method.invocations: put createKey
focal_method.modifiers: @Override public
focal_method.parameters: (byte[] address, byte[] key)
focal_method.return: void
focal_method.signature: void registerKey(byte[] address, byte[] key)