@Test
public void toJsonReturnsExpected() {

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