ddm-rrm/src/it/java/com/epam/digital/data/platform/management/CandidateVersionFormsControllerIT.java [450:474]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      JSONAssert.assertEquals(expectedFormContent, actualFormContent,
          new CustomComparator(JSONCompareMode.LENIENT,
              new Customization("created", (o1, o2) -> true),
              new Customization("modified", (o1, o2) -> true)
          ));

      // assert that form dates are close to current date
      var form = JsonParser.parseString(actualFormContent).getAsJsonObject();
      final var created = LocalDateTime.parse(form.get("created").getAsString(),
          JacksonConfig.DATE_TIME_FORMATTER).format(JacksonConfig.DATE_TIME_FORMATTER);
      final var updated = LocalDateTime.parse(form.get("modified").getAsString(),
          JacksonConfig.DATE_TIME_FORMATTER).format(JacksonConfig.DATE_TIME_FORMATTER);
      Assertions.assertThat(created)
          .isEqualTo(expectedCreated);
      Assertions.assertThat(LocalDateTime.parse(updated, JacksonConfig.DATE_TIME_FORMATTER))
          .isCloseTo(LocalDateTime.now(), within(1, ChronoUnit.MINUTES));
    }


    @Test
    @DisplayName("should return 200 and update form with asterisk ETag")
    @SneakyThrows
    void updateForm_asteriskETag() {
      // add file to "remote" repo
      final var headFormContent = context.getResourceContent(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



ddm-rrm/src/it/java/com/epam/digital/data/platform/management/MasterVersionFormsControllerIT.java [463:487]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      JSONAssert.assertEquals(expectedFormContent, actualFormContent,
          new CustomComparator(JSONCompareMode.LENIENT,
              new Customization("created", (o1, o2) -> true),
              new Customization("modified", (o1, o2) -> true)
          ));

      // assert that form dates are close to current date
      var form = JsonParser.parseString(actualFormContent).getAsJsonObject();
      final var created = LocalDateTime.parse(form.get("created").getAsString(),
          JacksonConfig.DATE_TIME_FORMATTER).format(JacksonConfig.DATE_TIME_FORMATTER);
      final var updated = LocalDateTime.parse(form.get("modified").getAsString(),
          JacksonConfig.DATE_TIME_FORMATTER).format(JacksonConfig.DATE_TIME_FORMATTER);
      Assertions.assertThat(created)
          .isEqualTo(expectedCreated);
      Assertions.assertThat(LocalDateTime.parse(updated, JacksonConfig.DATE_TIME_FORMATTER))
          .isCloseTo(LocalDateTime.now(), within(1, ChronoUnit.MINUTES));
    }


    @Test
    @DisplayName("should return 200 and update form with asterisk ETag")
    @SneakyThrows
    void updateForm_asteriskETag() {
      // add file to "remote" repo
      final var headFormContent = context.getResourceContent(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



