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