KBBuilder { public void setApproach(Approach approach) { this.approach = approach; }  KnowledgeBase build(); void setStore(Store store); void setOntology(RuleSet rules); void addAll(CloseableIterator<?> it); void add(Rule rule); void add(Rule rule, Mapper mapper); void addRules(CloseableIterator<?> it); void addRules(CloseableIterator<?> it, Mapper mapper); void add(Atom atom); void add(Atom atom, Mapper mapper); void addAtoms(CloseableIterator<?> it); void addAtoms(CloseableIterator<?> it, Mapper mapper); void setApproach(Approach approach);  }
@Test public void testSetApproach() { KBBuilder kbb = new KBBuilder(); kbb.setApproach(Approach.SATURATION_ONLY); KnowledgeBase kb = kbb.build(); Assert.assertEquals(Approach.SATURATION_ONLY, kb.getApproach()); }