Class ResponseErrors

java.lang.Object
de.hybris.platform.odata2services.odata.asserts.ResponseErrors
All Implemented Interfaces:
org.assertj.core.error.AssertionErrorFactory

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

    • 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(String actual, String expected)
    • newAssertionError

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