File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/test/kotlin/gov/cdc/prime/fhirconverter/translation/hl7/schema Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -181,13 +181,13 @@ class ConfigSchemaReaderTests {
181181 }
182182
183183 @Test
184- fun `test read converter schema with lookuptable ` () {
184+ fun `test subtype class must inherit from ValueSetCollection ` () {
185185 // Implementation of [ValueSetCollection] to allow valueSet to be retrieved from a lookup table.
186186 class ClassInheritFromValueSetCollection
187- (@JsonProperty(" values " ) private val values : SortedMap <String , String >) : ValueSetCollection {
188- override fun toSortedMap (): SortedMap <String , String > = values
187+ (@JsonProperty(" testValues " ) private val testValues : SortedMap <String , String >) : ValueSetCollection {
188+ override fun toSortedMap (): SortedMap <String , String > = testValues
189189 override fun getMappedValue (keyValue : String ): String? = null
190- override fun isNotEmpty (): Boolean = values .isNotEmpty()
190+ override fun isNotEmpty (): Boolean = testValues .isNotEmpty()
191191 }
192192 class ClassNotInheritFromValueSetCollection
193193 assertThat(
You can’t perform that action at this time.
0 commit comments