Searched refs:expectedClass (Results 1 – 2 of 2) sorted by relevance
38 private void assertException(Runnable r, Class<? extends RuntimeException> expectedClass) { in assertException() argument42 if (e.getClass().isAssignableFrom(expectedClass)) { in assertException()45 throw new AssertionError("Expected: " + expectedClass.getName() + ", got: " in assertException()
343 private void assertException(Runnable r, Class<? extends RuntimeException> expectedClass) { in assertException() argument347 if (e.getClass().isAssignableFrom(expectedClass)) { in assertException()350 throw new AssertionError("Expected: " + expectedClass.getName() + ", got: " in assertException()