Skip to content

Instantly share code, notes, and snippets.

@cajar1988
Last active October 30, 2015 20:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save cajar1988/7e8b4e6d27dba27e2ec5 to your computer and use it in GitHub Desktop.
//given
val personService = new PersonService
//when
val persons = personService.fetchFromCity("Lublin")
//then
persons.filter(_.address.getCity != "Lublin") should be(empty)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment