Added a simple NullSource test.
This commit is contained in:
parent
92c8e8757e
commit
bee2f9fc57
|
@ -86,7 +86,11 @@ class StringsUnitTest {
|
|||
assertEquals(expected, actualValue);
|
||||
}
|
||||
|
||||
|
||||
@ParameterizedTest
|
||||
@NullSource
|
||||
void isBlank_ShouldReturnTrueForNullInputs(String input) {
|
||||
assertTrue(Strings.isBlank(input));
|
||||
}
|
||||
|
||||
private static Stream<Arguments> provideStringsForIsBlank() {
|
||||
return Stream.of(
|
||||
|
|
Loading…
Reference in New Issue