Posts tagged with #junit5
In many cases, when you have a method that accepts a mandatory string parameter, you want to verify that the parameter contains a value that isn’t
null, nor empty, not blank (i.e. consisting solely of whitespace characters). While writing the check is easy, testing it can be a bit annoying.