Skip to content

Instantly share code, notes, and snippets.

@cajar1988
Last active November 1, 2015 20:28
  • 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/bb93511d94a4c5a54195 to your computer and use it in GitHub Desktop.
//AssertJ - zawsze sprawdzaj wszystkie asercje
SoftAssertions softly = new SoftAssertions();
softly.assertThat(firstPerson.getFirstName()).contains("Adam")
.startsWith("A")
.endsWith("m")
.hasSize(7);
softly.assertAll();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment