Search in sources :

Example 6 with CompressionOutInterceptor

use of org.talend.esb.policy.compression.impl.CompressionOutInterceptor in project tesb-rt-se by Talend.

the class CompressionOutInterceptorTest method handleNullMessage.

@Test
public void handleNullMessage() {
    CompressionOutInterceptor c = new CompressionOutInterceptor();
    c.handleMessage(CompressionCommonTest.getMessageStub(null, null));
}
Also used : CompressionOutInterceptor(org.talend.esb.policy.compression.impl.CompressionOutInterceptor) Test(org.junit.Test)

Aggregations

CompressionOutInterceptor (org.talend.esb.policy.compression.impl.CompressionOutInterceptor)6 Test (org.junit.Test)5 Message (org.apache.cxf.message.Message)3 CompressionInInterceptor (org.talend.esb.policy.compression.impl.CompressionInInterceptor)2 ByteArrayInputStream (java.io.ByteArrayInputStream)1 InputStream (java.io.InputStream)1 ArrayList (java.util.ArrayList)1 HashMap (java.util.HashMap)1 XMLInputFactory (javax.xml.stream.XMLInputFactory)1 XMLStreamReader (javax.xml.stream.XMLStreamReader)1 Interceptor (org.apache.cxf.interceptor.Interceptor)1 InterceptorProvider (org.apache.cxf.interceptor.InterceptorProvider)1 CompressionFeature (org.talend.esb.policy.compression.feature.CompressionFeature)1