protected internal virtual void assertThatDecisionHasResult(DmnDecisionResult decisionResult, object expectedValue) { assertThat(decisionResult, @is(notNullValue())); assertThat(decisionResult.size(), @is(1)); string value = decisionResult.SingleResult.FirstEntry; assertThat(value, @is(expectedValue)); }
public virtual void testEmptyMap() { startTestProcess("empty map"); assertEquals(2, results.size()); foreach (DmnDecisionResultEntries output in results) { assertTrue("The decision output should be empty", output.Empty); } }