Searched refs:expectedFailMessage (Results 1 – 1 of 1) sorted by relevance
178 String expectedFailMessage, Install install) { in commitExpectingFailure() argument179 assertThrows(expectedThrowableClass, expectedFailMessage, () -> install.commit()); in commitExpectingFailure()283 private static void assertThrows(Class expectedThrowableClass, String expectedFailMessage, in assertThrows() argument289 assertThat(expected.getMessage()).containsMatch(expectedFailMessage); in assertThrows()