Skip to content

Instantly share code, notes, and snippets.

@beyondxscratch
Last active July 17, 2020 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beyondxscratch/d10fe7202c5633873c1202a9ca684c1b to your computer and use it in GitHub Desktop.
Save beyondxscratch/d10fe7202c5633873c1202a9ca684c1b to your computer and use it in GitHub Desktop.
//Talk is related to the topic
assertThat(talk.title).contains("topic")
//All recommended talks are related to the topic
assertThat(recommendation.talks.map { it.title }).allMatch{ it.contains("topic") }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment