Class MultipleAssertionsError

java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.assertj.core.error.MultipleAssertionsError
All Implemented Interfaces:
Serializable

public class MultipleAssertionsError extends AssertionError
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getErrors

      public List<? extends AssertionError> getErrors()
      Returns the causal AssertionErrors in the order that they were thrown.
      Returns:
      the list of errors
    • formatDescription

      private static String formatDescription(Description description)
    • createMessage

      private static String createMessage(List<? extends AssertionError> errors)