### Question:
RegistryBuilder implements IndexVisitor { static Map<String, Object> diff(Map<String, Object> left, Map<String, Object> right) { Map<String, Object> result = new HashMap<>(); for (Map.Entry<String, Object> entry : right.entrySet()) { Object value = left.get(entry.getKey()); if (!entry.getValue().equals(value)) { result.put(entry.getKey(), entry.getValue()); } } return result; }  @Override void visitPlatform(QuarkusPlatformDescriptor platform); @Override void visitExtension(Extension extension, String quarkusCore); Registry build();  }### Answer:
@Test void diffMap() { Map<String, Object> left = new HashMap<>(); left.put("A", "1"); left.put("B", "2"); Map<String, Object> right = new HashMap<>(); right.put("A", "1"); right.put("B", "2"); right.put("C", "3"); Map<String, Object> result = RegistryBuilder.diff(left, right); assertThat(result).doesNotContainKeys("A", "B").containsOnly(entry("C", "3")); }