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