@Test(expected = PolicyIdInvalidException.class)
public void tryToCreateInstanceWithInvalidPolicyId() {

    final Policy policy = PoliciesModelFactory.newPolicyBuilder("test.ns:foo/bar")
            .set(TestConstants.Policy.POLICY_ENTRY)
            .build();
    CreatePolicy.of(policy, TestConstants.EMPTY_DITTO_HEADERS);
}