Exemplo 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
   }
 }
Exemplo n.º 2
0
 private void assertPass(ValueAssertion assertion, TupleEntry tupleEntry) {
   ConcreteCall concreteCall = getOperationCall(tupleEntry);
   assertion.prepare(FlowProcess.NULL, concreteCall);
   assertion.doAssert(FlowProcess.NULL, concreteCall);
 }