Class ODataResponseAssertion

  • All Implemented Interfaces:
    org.assertj.core.api.Assert<ODataResponseAssertion,​org.apache.olingo.odata2.api.processor.ODataResponse>, org.assertj.core.api.Descriptable<ODataResponseAssertion>, org.assertj.core.api.ExtensionPoints<ODataResponseAssertion,​org.apache.olingo.odata2.api.processor.ODataResponse>

    public class ODataResponseAssertion
    extends org.assertj.core.api.AbstractAssert<ODataResponseAssertion,​org.apache.olingo.odata2.api.processor.ODataResponse>
    Assertions for ODataResponse class
    • Field Summary

      • Fields inherited from class org.assertj.core.api.AbstractAssert

        actual, info, myself
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ODataResponseAssertion assertionOf​(org.apache.olingo.odata2.api.processor.ODataResponse actual)  
      org.assertj.core.api.StringAssert body()  
      ODataResponseAssertion hasBody​(java.lang.String expectedBody)  
      ODataResponseAssertion hasStatus​(int status)  
      ODataResponseAssertion hasStatus​(org.apache.olingo.odata2.api.commons.HttpStatusCodes status)  
      ODataResponseAssertion isSuccessful()  
      JsonObjectAssertion jsonBody()  
      • Methods inherited from class org.assertj.core.api.AbstractAssert

        as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait