@Test
public void tryToCreateInstanceWithInvalidPolicyId() {

    assertThatExceptionOfType(PolicyIdInvalidException.class)
            .isThrownBy(() -> ModifyResource.of("undefined", TestConstants.Policy.LABEL,
                    TestConstants.Policy.RESOURCE,
                    TestConstants.EMPTY_DITTO_HEADERS));
}