Class ShouldHaveRootCause

    • Constructor Detail

      • ShouldHaveRootCause

        private ShouldHaveRootCause​(java.lang.Throwable actualCause,
                                    java.lang.Throwable expectedCause)
      • ShouldHaveRootCause

        private ShouldHaveRootCause​(java.lang.Throwable expectedCause)
      • ShouldHaveRootCause

        private ShouldHaveRootCause​(java.lang.Throwable actualCause,
                                    java.lang.Class<? extends java.lang.Throwable> expectedCauseClass)
      • ShouldHaveRootCause

        private ShouldHaveRootCause​(java.lang.Throwable actualCause,
                                    java.lang.String expectedCauseMessage)
    • Method Detail

      • shouldHaveRootCause

        public static ErrorMessageFactory shouldHaveRootCause​(java.lang.Throwable actualCause,
                                                              java.lang.Throwable expectedCause)