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