@Test
public void toJsonReturnsExpected() {

    final ModifyResources underTest =
            ModifyResources.of(TestConstants.Policy.POLICY_ID,
                    TestConstants.Policy.LABEL, TestConstants.Policy.RESOURCES,
                    TestConstants.EMPTY_DITTO_HEADERS);
    final JsonObject actualJson = underTest.toJson(FieldType.regularOrSpecial());
    assertThat(actualJson).isEqualTo(KNOWN_JSON);
}