Searched refs:expectThrows (Results 1 – 2 of 2) sorted by relevance
30 expectThrows(new TestSuper()); in testRegistration1()52 private static void expectThrows(Base b) { in expectThrows() method in Main
21 import static org.testng.Assert.expectThrows;78 MultipleAlternativesFoundError e = expectThrows(MultipleAlternativesFoundError.class, in testFindPublicAlternativeFailDueToMultipleParameterTypes()109 expectThrows(NoAlternativesSpecifiedError.class, in testNoPublicClassAlternatives()