Skip to content

Instantly share code, notes, and snippets.

@bjpeterdelacruz
Created November 28, 2013 23:21
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 bjpeterdelacruz/7699325 to your computer and use it in GitHub Desktop.
Save bjpeterdelacruz/7699325 to your computer and use it in GitHub Desktop.
JUnit Example #1
SomeObject obj = new SomeObject();
assertFalse(obj.hasA() || obj.hasB() || obj.hasC());
assertTrue(obj.hasD() && obj.hasE());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment