@Test(expected = PolicyEntryInvalidException.class)
public void createInvalidResourceKey() {

    final String invalidResourceKey = "thing:/foo/bar\u0001";
    PoliciesModelFactory.newResourceKey(invalidResourceKey);
}