elvyssoares

Sensitive Equality - Refactored - Toy Example

Jun 10th, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.14 KB | None | 0 0
  1. @Test
  2. public void test() {
  3.     MyClass c = new MyClass();
  4.     c.performAction();
  5.     // Compare result using an equality method
  6.     assertEquals(c.equalityCheck(), "Expected");
  7. }
Advertisement
Add Comment
Please, Sign In to add comment