@Test
void should_IgnoreDifferencesInCustomAttributes_When_CustomAttributesHaveChanged() {

  TaskImpl oldTask = new TaskImpl();
  oldTask.setOwner("old Owner");
  oldTask.setCreator("old  Creator");
  TaskImpl newTask = new TaskImpl();
  newTask.setOwner("new Owner");
  newTask.setCreator("new Creator");
  Map<String, String> customAttriutes = new HashMap<>();
  customAttriutes.put("new key", "new value");
  newTask.setCustomAttributes(customAttriutes);
  JSONArray changedAttributes =
      new JSONObject(ObjectAttributeChangeDetector.determineChangesInAttributes(oldTask, newTask))
          .getJSONArray("changes");
  assertThat(changedAttributes).hasSize(2);
}