Closed
Description
CsvSystemParticipantSourceTest
is broken because the tests do not fail for neither Try.Success
or Try.Failure
. So, if all parsing fails for whatever reason, the tests do not fail.
What could solve this is another parameter for each test shouldSucceed
, so that we can match against expected successes and failures.
Also, the boolean operations within if
/else
don't even lead to failures, even if they result to false
.