test: Clean up unit tests asserting thrown exceptions by valfirst · Pull Request #1741 · appium/java-client

Change list

Clean up unit tests asserting thrown exceptions

Types of changes

What types of changes are you proposing/introducing to Java client?
Put an x in the boxes that apply

  • No changes in production code.
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Details

This PR removes redundant (never invoked) clauses from unit tests asserting thrown exceptions.