Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
internal class CreateNameTest {
@ParameterizedTest
@NullAndEmptySource
@ValueSource(strings = [" "])
fun `there is no creation when the provided value is null or empty or blank`(providedValue: String?) {
assertThat(createName(providedValue), absent())
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment