Ejemplo n.º 1
0
 private void assertFail(ValueAssertion assertion, TupleEntry tupleEntry) {
   ConcreteCall concreteCall = getOperationCall(tupleEntry);
   assertion.prepare(FlowProcess.NULL, concreteCall);
   try {
     assertion.doAssert(FlowProcess.NULL, concreteCall);
     fail();
   } catch (AssertionException exception) {
     // do nothing
   }
 }
Ejemplo n.º 2
0
 private void assertPass(ValueAssertion assertion, TupleEntry tupleEntry) {
   ConcreteCall concreteCall = getOperationCall(tupleEntry);
   assertion.prepare(FlowProcess.NULL, concreteCall);
   assertion.doAssert(FlowProcess.NULL, concreteCall);
 }