Class ShouldHaveNoCause

    • Method Detail

      • shouldHaveNoCause

        public static ErrorMessageFactory shouldHaveNoCause​(Throwable actual)
        Creates a new ShouldHaveNoCause.
        Parameters:
        actual - the actual value in the failed assertion.
        Returns:
        the created ErrorMessageFactory.