Package com.github.kristofa.test.http

Examples of com.github.kristofa.test.http.DefaultHttpResponseProvider


        spanId = mock(SpanId.class);
        when(spanId.getParentSpanId()).thenReturn(null);
        when(spanId.getSpanId()).thenReturn(SPAN_ID);
        when(spanId.getTraceId()).thenReturn(TRACE_ID);

        responseProvider = new DefaultHttpResponseProvider(true);
        mockServer = new MockHttpServer(PORT, responseProvider);
        mockServer.start();
    }
View Full Code Here

TOP

Related Classes of com.github.kristofa.test.http.DefaultHttpResponseProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.