Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Click Mark as expected to update @Test(expected=...) annotation with the exception that was thrown:

Anchor
example2
example2
Example 2 - Expected Exception is Not Thrown

...

UTA detected that no exception was thrown:

Click Remove expected exception to remove the Test(expected = IllegalArgumentException.class) annotation from the test:

Anchor
example3
example3
Example 3 - Wrong Exception Thrown

...