<classpathentry exported="true" kind="lib" path="lib/commons-collections4-4.2.jar"/>
<classpathentry kind="lib" path="lib/commons-math3-3.6.1.jar"/>
<classpathentry kind="lib" path="lib/xmlunit-core-2.5.1.jar"/>
- <classpathentry kind="lib" path="lib/mockito-core-2.21.0.jar"/>
- <classpathentry kind="lib" path="lib/byte-buddy-1.7.9.jar"/>
- <classpathentry kind="lib" path="lib/byte-buddy-agent-1.7.9.jar"/>
<classpathentry kind="lib" path="lib/objenesis-2.6.jar"/>
<classpathentry kind="lib" path="lib/commons-compress-1.18.jar"/>
+ <classpathentry kind="lib" path="lib/mockito-core-2.23.4.jar"/>
+ <classpathentry kind="lib" path="lib/byte-buddy-1.9.3.jar"/>
+ <classpathentry kind="lib" path="lib/byte-buddy-agent-1.9.3.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
cfe = new ConditionalFormattingEvaluator(wb, formulaEval);
sheet = wb.getSheetAt(0);
- try {
- getRulesFor(2, 1);
- fail("Got rules when an unsupported function error was expected.");
- } catch (NotImplementedException e) {
- // expected
- }
+ assertEquals("no rules should apply", 0, getRulesFor(2, 1).size());
- try {
- getRulesFor(2, 1);
- fail("Got rules the second time when an unsupported function error was expected.");
- } catch (NotImplementedException e) {
- // expected
- }
+ assertEquals("no rules should apply", 0, getRulesFor(2, 1).size());
}