restrictions.getRestrictions().add(new OntoSpreadRestrictionMinConcepts(2));
restrictions.getRestrictions().add(new OntoSpreadRestrictionMaxConcepts(10));
//State
OntoSpreadState state = new OntoSpreadState();
OntoSpreadStrategy strategy = new OntoSpreadSimpleStrategy(restrictions);
OntoSpreadStrategyVisitorPair pair = new OntoSpreadStrategyVisitorPair(strategy,new OntoSpreadBooleanRestrictionVisitor());
Object continues = pair.applyStrategy(state) ;
assertEquals(continues.getClass(),Boolean.class);
assertTrue(((Boolean)continues).booleanValue());