elvyssoares

Conditional Operator - Refactored - Toy Example

Jun 10th, 2020
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.13 KB | None | 0 0
  1. boolean b = MyComponent.isB();
  2. @Test
  3. public void test() {
  4.     assertTrue(b);
  5.     MyClass c = new MyClass();
  6.     assertTrue(c.isA());
  7. }
Add Comment
Please, Sign In to add comment