Closed c960657 closed 6 years ago
Thanks for catching this. As a matter of fact, the assertFalse
(line 133) shouldn't have been there. The objective of this function is to assert that a holiday doesn't exist. In such a case always 'null' is returned, therefore making this assertion irrelevant.
If you add
assertNotHoliday()
to a test function, the rest of the test is skipped, because it intentionally throws an exception. This is rather surprising/confusing.