@Test(expected = IllegalArgumentException.class) public void testMissingType() throws UIMAException { new TaxonomyFactory(new String[] {"Missing"}).create(); }
public Collection<Object> create() { Collection<Object> completeTaxonomyTree = new ArrayList<>(); for (String typeName : includedTypeNames) { completeTaxonomyTree.add(createTaxonomyTreeForType(typeName)); } return completeTaxonomyTree; }
TaxonomyFactory { public Collection<Object> create() { Collection<Object> completeTaxonomyTree = new ArrayList<>(); for (String typeName : includedTypeNames) { completeTaxonomyTree.add(createTaxonomyTreeForType(typeName)); } return completeTaxonomyTree; } }
TaxonomyFactory { public Collection<Object> create() { Collection<Object> completeTaxonomyTree = new ArrayList<>(); for (String typeName : includedTypeNames) { completeTaxonomyTree.add(createTaxonomyTreeForType(typeName)); } return completeTaxonomyTree; } TaxonomyFactory(String[] includedTypeNames);  TaxonomyFactory(TypeSystem typeSystem, String[] includedTypeNames); }
TaxonomyFactory { public Collection<Object> create() { Collection<Object> completeTaxonomyTree = new ArrayList<>(); for (String typeName : includedTypeNames) { completeTaxonomyTree.add(createTaxonomyTreeForType(typeName)); } return completeTaxonomyTree; } TaxonomyFactory(String[] includedTypeNames);  TaxonomyFactory(TypeSystem typeSystem, String[] includedTypeNames); Collection<Object> create(); }
TaxonomyFactory { public Collection<Object> create() { Collection<Object> completeTaxonomyTree = new ArrayList<>(); for (String typeName : includedTypeNames) { completeTaxonomyTree.add(createTaxonomyTreeForType(typeName)); } return completeTaxonomyTree; } TaxonomyFactory(String[] includedTypeNames);  TaxonomyFactory(TypeSystem typeSystem, String[] includedTypeNames); Collection<Object> create();  }