@Test(expected = PolicyIdNotAllowedException.class)
public void ensuresNoPolicyIdInV1Command() {

    final DittoHeaders v1Headers = DittoHeaders.newBuilder().schemaVersion(JsonSchemaVersion.V_1).build();
    final Thing thingWithPolicyId = TestConstants.Thing.THING.toBuilder()
            .removeAllPermissions()
            .setPolicyId("any:policyId")
            .build();
    ModifyThing.of(TestConstants.Thing.THING_ID, thingWithPolicyId, null, v1Headers);
}