Class ShouldHaveSuppressedException

    • Constructor Detail

      • ShouldHaveSuppressedException

        private ShouldHaveSuppressedException​(Throwable actual,
                                              Throwable expectedSuppressedException)
    • 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.