@Test
public void test() {

    Beacon processedBeacon = processor.process(Beacon.of(ImmutableMap.of("key1", "value1")));
    // Ensure value got properly overwritten
    Assertions.assertThat(processedBeacon.get("key1")).isEqualTo("value2");
    // Ensure new key was properly added
    Assertions.assertThat(processedBeacon.get("key2")).isEqualTo("value2");
}