elvyssoares

Exception Handling 3 - Original - Toy Example

Jun 10th, 2020
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.17 KB | None | 0 0
  1. @Test
  2. public void test() throws Exception {
  3.     MyClass c = new MyClass();
  4.     c.initialize();
  5.     try {
  6.         assertTrue(c.isA());
  7.     } finally {
  8.         c.finalize();
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment