Searched refs:expectedThrowableClass (Results 1 – 1 of 1) sorted by relevance
187 public static void commitExpectingFailure(Class expectedThrowableClass, in commitExpectingFailure() argument189 assertThrows(expectedThrowableClass, expectedFailMessage, () -> install.commit()); in commitExpectingFailure()424 private static void assertThrows(Class expectedThrowableClass, String expectedFailMessage, in assertThrows() argument429 assertThat(expectedThrowableClass.isAssignableFrom(expected.getClass())).isTrue(); in assertThrows()