Class ResponseErrors

  • All Implemented Interfaces:
    org.assertj.core.error.AssertionErrorFactory

    public class ResponseErrors
    extends java.lang.Object
    implements org.assertj.core.error.AssertionErrorFactory
    Message factory for HTTP status conditions
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.assertj.core.error.AssertionErrorFactory bodyShouldBeEqual​(java.lang.String actual, java.lang.String expected)  
      java.lang.AssertionError newAssertionError​(org.assertj.core.description.Description d, org.assertj.core.presentation.Representation r)  
      static org.assertj.core.error.AssertionErrorFactory shouldBeSuccessful​(int actual)  
      static org.assertj.core.error.AssertionErrorFactory statusShouldBeEqualTo​(int actual, int expected)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • statusShouldBeEqualTo

        public static org.assertj.core.error.AssertionErrorFactory statusShouldBeEqualTo​(int actual,
                                                                                         int expected)
      • shouldBeSuccessful

        public static org.assertj.core.error.AssertionErrorFactory shouldBeSuccessful​(int actual)
      • bodyShouldBeEqual

        public static org.assertj.core.error.AssertionErrorFactory bodyShouldBeEqual​(java.lang.String actual,
                                                                                     java.lang.String expected)
      • newAssertionError

        public java.lang.AssertionError newAssertionError​(org.assertj.core.description.Description d,
                                                          org.assertj.core.presentation.Representation r)
        Specified by:
        newAssertionError in interface org.assertj.core.error.AssertionErrorFactory