use of org.drools.verifier.components.VariableRestriction in project drools by kiegroup.
the class VerifierDataMapsTest method testSaveVerifierComponentAndGetForAllRestrictions.
@Test
public void testSaveVerifierComponentAndGetForAllRestrictions() {
Pattern pattern = VerifierComponentMockFactory.createPattern1();
saveVerifierComponentAndGet(LiteralRestriction.createRestriction(pattern, ""));
saveVerifierComponentAndGet(new EnumRestriction(pattern));
saveVerifierComponentAndGet(new QualifiedIdentifierRestriction(pattern));
saveVerifierComponentAndGet(new ReturnValueRestriction(pattern));
saveVerifierComponentAndGet(new ReturnValueRestriction(pattern));
saveVerifierComponentAndGet(new VariableRestriction(pattern));
}
Aggregations