Interface AssertionErrorFactory

  • All Known Implementing Classes:
    ShouldBeEqual

    public interface AssertionErrorFactory
    Factory of AssertionErrors.
    • Method Detail

      • newAssertionError

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