@Test
public void testGetCreateDirectives() throws Exception {

  final RepositoryResourceDefinition resourceDefinition = new RepositoryResourceDefinition();
  final Collection<String> createDirectives = resourceDefinition.getCreateDirectives();
  Assert.assertEquals(1, createDirectives.size());
  Assert.assertEquals(RepositoryResourceDefinition.VALIDATE_ONLY_DIRECTIVE, createDirectives.iterator().next());
}