diff --git a/src/test/kotlin/entity/healthcareuser/PatientIDTest.kt b/src/test/kotlin/entity/healthcareuser/PatientIDTest.kt new file mode 100644 index 0000000..a82c8d0 --- /dev/null +++ b/src/test/kotlin/entity/healthcareuser/PatientIDTest.kt @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2023. Smart Operating Block + * + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ + +package entity.healthcareuser + +import io.kotest.assertions.throwables.shouldThrow +import io.kotest.core.spec.style.StringSpec + +class PatientIDTest : StringSpec({ + "patient id should not be empty" { + shouldThrow { PatientID("") } + } +})