pibizza commented on code in PR #6223:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6223#discussion_r1922122140


##########
kie-dmn/kie-dmn-feel/src/test/java/org/kie/dmn/feel/lang/ast/forexpressioniterators/ForIterationUtilsTest.java:
##########
@@ -148,4 +153,55 @@ void validateValuesFalseTest() {
             reset(listener);
         }
     }
-}
\ No newline at end of file
+
+    @Test
+    void testGetForIterationRangeValues() {
+        Range range = new RangeImpl(Range.RangeBoundary.CLOSED, 
BigDecimal.TEN, BigDecimal.valueOf(20), Range.RangeBoundary.OPEN);
+        EvaluationContext ctx = mock(EvaluationContext.class);
+
+        ForIteration expectedResult = new ForIteration("rangeTest", null);
+        ForIteration actualResult = getForIteration(range, "rangeTest", ctx);
+        assertThat(actualResult).isNotNull();
+        assertEquals(actualResult.toString(), expectedResult.toString());

Review Comment:
   Please do not use assertEquals. Assertj assertions are standard inside 
drools code.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to