Searched refs:expectedException (Results 1 – 1 of 1) sorted by relevance
59 @Rule public ExpectedException expectedException = ExpectedException.none(); field in TestVersionedInterface63 expectedException.expect(RemoteException.class); in testUnimplementedMethodTriggersException()64 expectedException.expectMessage("Method newApi is unimplemented."); in testUnimplementedMethodTriggersException()76 expectedException.expect(IllegalArgumentException.class); in testUnknownUnionFieldTriggersException()