Skip to content

Instantly share code, notes, and snippets.

@djazayeri
Created March 17, 2015 03:21
Show Gist options
  • Save djazayeri/577e57a2749d20867cfe to your computer and use it in GitHub Desktop.
Save djazayeri/577e57a2749d20867cfe to your computer and use it in GitHub Desktop.
assertThat(updated.getNames(), containsInAnyOrder(
allOf(
hasProperty("name", is("History of present illness")),
hasProperty("locale", is(Locale.ENGLISH)),
hasProperty("localePreferred", is(true)),
hasProperty("conceptNameType", is(ConceptNameType.FULLY_SPECIFIED))),
allOf(
hasProperty("name", is("HPI")),
hasProperty("locale", is(Locale.ENGLISH)),
hasProperty("localePreferred", is(false)),
hasProperty("conceptNameType", nullValue()))));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment