Class ShouldHaveSuppressedException

    • Method Detail

      • shouldHaveSuppressedException

        public static ErrorMessageFactory shouldHaveSuppressedException​(Throwable actual,
                                                                        Throwable expectedSuppressedException)
        Parameters:
        actual - the throwable to check suppressed exceptions.
        expectedSuppressedException - the expected suppressed exception.
        Returns:
        the created ErrorMessageFactory.