Class DefaultOutboundRequestResponseInterceptorUnitTest


  • @UnitTest
    public class DefaultOutboundRequestResponseInterceptorUnitTest
    extends java.lang.Object
    • Constructor Detail

      • DefaultOutboundRequestResponseInterceptorUnitTest

        public DefaultOutboundRequestResponseInterceptorUnitTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • testIntercept_success

        public void testIntercept_success()
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • testIntercept_success_successRetentionFalse

        public void testIntercept_success_successRetentionFalse()
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • testIntercept_error_fallbackErrorParser

        public void testIntercept_error_fallbackErrorParser()
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • testIntercept_error_errorParser

        public void testIntercept_error_errorParser()
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • testIntercept_error_errorParsersNotApplicable

        public void testIntercept_error_errorParsersNotApplicable()
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • testIntercept_error_errorRetentionFalse

        public void testIntercept_error_errorRetentionFalse()
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • testInterceptIntegrationTimeoutExceptionWhenIssuingRequest

        public void testInterceptIntegrationTimeoutExceptionWhenIssuingRequest()
                                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • testInterceptIntegrationTimeoutExceptionWhenIssuingRequestErrorRetentionFalse

        public void testInterceptIntegrationTimeoutExceptionWhenIssuingRequestErrorRetentionFalse()
                                                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • testInterceptExecutionExceptionWhenIssuingRequest

        public void testInterceptExecutionExceptionWhenIssuingRequest()
                                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • testInterceptExecutionExceptionWhenIssuingRequestErrorRetentionFalse

        public void testInterceptExecutionExceptionWhenIssuingRequestErrorRetentionFalse()
                                                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • testIntercept_noMessageIdPresent

        public void testIntercept_noMessageIdPresent()
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • testIntercept_noMessageIdPresent_inCaseOfEmptyValue

        public void testIntercept_noMessageIdPresent_inCaseOfEmptyValue()
                                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • testIntercept_noPayloadGenerated_emptyList

        public void testIntercept_noPayloadGenerated_emptyList()
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • testIntercept_noPayloadGenerated_null

        public void testIntercept_noPayloadGenerated_null()
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • testIntercept_noOutboundRequestModelPresent

        public void testIntercept_noOutboundRequestModelPresent()
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • testIntercept_multipleOutboundRequestModelsPresent

        public void testIntercept_multipleOutboundRequestModelsPresent()
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • test_returnPayloadExceedsMaxSize_NoContentLengthHeader

        public void test_returnPayloadExceedsMaxSize_NoContentLengthHeader()
                                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • test_returnPayloadExceedsMaxSize_ContentLengthHeaderPresent

        public void test_returnPayloadExceedsMaxSize_ContentLengthHeaderPresent()
                                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • test_returnPayloadExceedsMaxSize_ContentLengthAndTransferEncodingHeaderPresent

        public void test_returnPayloadExceedsMaxSize_ContentLengthAndTransferEncodingHeaderPresent()
                                                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • test_returnPayloadEqualsMaxSize_NoContentLenghHeader

        public void test_returnPayloadEqualsMaxSize_NoContentLenghHeader()
                                                                  throws java.io.IOException
        Throws:
        java.io.IOException