Interface AssertionErrorFactory

  • All Known Implementing Classes:
    ShouldBeEqual

    public interface AssertionErrorFactory
    Factory of AssertionErrors.
    • Method Detail

      • newAssertionError

        java.lang.AssertionError newAssertionError​(Description d,
                                                   Representation representation)
        Creates an AssertionError.
        Parameters:
        d - the description of the failed assertion.
        representation -
        Returns:
        the created AssertionError.