use of io.syndesis.qe.utils.FilterRulesBuilder in project syndesis-qe by syndesisio.
the class IntermediateSteps method createBasicFilterStep.
@Given("^create basic TW to SF filter step")
public void createBasicFilterStep() {
final Step basicFilter = new Step.Builder().stepKind(StepKind.ruleFilter).configuredProperties(TestUtils.map("type", "rule", "predicate", FilterPredicate.AND.toString(), "rules", new FilterRulesBuilder().addPath("text").addValue("#backendTest").addOps("contains").build())).id(UUID.randomUUID().toString()).build();
steps.getStepDefinitions().add(new StepDefinition(basicFilter));
}
Aggregations