@Test
public void parseModifyPolicyCommandResponse() {

    final ModifyPolicyResponse commandResponse =
            ModifyPolicyResponse.created(TestConstants.Policy.POLICY_ID, TestConstants.Policy.POLICY,
                    TestConstants.DITTO_HEADERS);
    final JsonObject jsonObject = commandResponse.toJson(FieldType.regularOrSpecial());
    final CommandResponse parsedCommandResponse =
            GlobalCommandResponseRegistry.getInstance().parse(jsonObject, TestConstants.DITTO_HEADERS);
    assertThat(parsedCommandResponse).isEqualTo(commandResponse);
}