Files
gerrit/gerrit-acceptance-tests
David Pursehouse f68fe49e8e ProjectIT: Be more specific about expected exceptions
Instead of using the `expected` parameter in the @Test annotation,
use the ExpectedException rule that is inherited from the superclass.

Change the expectation to check for specific exceptions instead of
the generic RestApiException.

Add checks for the expected messages.

Also rename one of the test methods for clarity.

Change-Id: I8d923591e1b4737b699aa335c87a752f842bbf25
2015-06-24 11:02:02 +09:00
..