BlueprintResourceDefinition extends BaseResourceDefinition { @Override public Collection<String> getCreateDirectives() { Collection<String> directives = super.getCreateDirectives(); directives.add("validate_topology"); return directives; } BlueprintResourceDefinition(); @Override String getPluralName(); @Override String getSingularName(); @Override Collection<String> getCreateDirectives();  }
@Test public void testGetCreateDirectives() { BlueprintResourceDefinition definition = new BlueprintResourceDefinition(); Collection<String> directives = definition.getCreateDirectives(); Assert.assertEquals(1, directives.size()); Assert.assertTrue(directives.contains("validate_topology")); }