Skip to content

Instantly share code, notes, and snippets.

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