No conditionals in unit tests, please. Instead, I'd prefer to have two separate tests: one for the valid cases and one for the other.