Skip to content

Instantly share code, notes, and snippets.

@cajar1988 cajar1988/ Secret
Last active Oct 30, 2015

What would you like to do?
PersonService personService = new PersonService();
List<Person> persons = personService.fetchFromCity("Lublin");
//pure JUnit
.filter(person -> !person.getAddress().getCity().equals("Lublin")).count() == 0);
.filteredOn(person -> !person.getAddress().getCity().equals("Lublin"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.