java.lang.AssertionError: Expected: a collection containing (hasProperty("conceptNameType", <FULLY_SPECIFIED>) and hasProperty("name", "Nazwa")) but: hasProperty("name", "Nazwa") property 'name' was "Test name", hasProperty("conceptNameType", <FULLY_SPECIFIED>) property 'conceptNameType' was <INDEX_TERM>, hasProperty("conceptNameType", <FULLY_SPECIFIED>) property 'conceptNameType' was <SHORT>, hasProperty("conceptNameType", <FULLY_SPECIFIED>) property 'conceptNameType' was null
java.lang.AssertionError:
Expected: a collection containing (hasProperty("conceptNameType", <FULLY_SPECIFIED>) and hasProperty("name", "Nazwa"))
but: hasProperty("name", "Nazwa") property 'name' was "Test name", hasProperty("conceptNameType", <FULLY_SPECIFIED>) property 'conceptNameType' was <INDEX_TERM>, hasProperty("conceptNameType", <FULLY_SPECIFIED>) property 'conceptNameType' was <SHORT>, hasProperty("conceptNameType", <FULLY_SPECIFIED>) property 'conceptNameType' was null
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:865)
at org.junit.Assert.assertThat(Assert.java:832)
at org.openmrs.module.openconceptlab.updater.ImporterTest.importConcept_shouldChangeDuplicateSynonymToIndexTerm(ImporterTest.java:407)
(39 more lines...)
|