Class DefaultCpqClientUtilTest

java.lang.Object
de.hybris.platform.cpq.productconfig.services.client.DefaultCpqClientUtilTest

@UnitTest public class DefaultCpqClientUtilTest extends Object
Unit test for DefaultCpqClientUtil
  • Constructor Details

    • DefaultCpqClientUtilTest

      public DefaultCpqClientUtilTest()
  • Method Details

    • testToReponse

      public void testToReponse()
    • testToReponseHttpEx

      public void testToReponseHttpEx()
    • testExtractLogMessageNoServerMsg

      public void testExtractLogMessageNoServerMsg()
    • testExtractLogMessageEmptyServerMsg

      public void testExtractLogMessageEmptyServerMsg()
    • testExtractLogMessageWithServerMsg

      public void testExtractLogMessageWithServerMsg()
    • testCheckHTTPStatusCodeMatches

      public void testCheckHTTPStatusCodeMatches()
    • testCheckHTTPStatusCodeFails

      public void testCheckHTTPStatusCodeFails()
    • testExtractErrorPage

      public void testExtractErrorPage()
    • testExtractErrorPageFails

      public void testExtractErrorPageFails()
    • testIsErrorPageResponseTrue

      public void testIsErrorPageResponseTrue()
    • testIsErrorPageResponseWrongResponseCode

      public void testIsErrorPageResponseWrongResponseCode()
    • testIsErrorPageResponseNoContent

      public void testIsErrorPageResponseNoContent()
    • testIsErrorPageResponseNoContentLengthHeader

      public void testIsErrorPageResponseNoContentLengthHeader()
    • testCheckContentTypeMatches

      public void testCheckContentTypeMatches()
    • testCheckContentTypeMatchesNotExactly

      public void testCheckContentTypeMatchesNotExactly()
    • testCheckContentTypeMatchesForNoContent

      public void testCheckContentTypeMatchesForNoContent()
    • testCheckContentTypeFails

      public void testCheckContentTypeFails()
    • testCheckContentTypeFailsNoContentExpectedButThereIs

      public void testCheckContentTypeFailsNoContentExpectedButThereIs()