PipeConfig config = new PipeConfig(url, MultipartRequestBuilderTest.MultiPartData.class);
config.setRequestBuilder(new MultipartRequestBuilder<MultipartRequestBuilderTest.MultiPartData>());
Pipeline pipeline = new Pipeline(url);
Pipe<MultipartRequestBuilderTest.MultiPartData> restPipe = pipeline.pipe(MultipartRequestBuilderTest.MultiPartData.class, config);
org.junit.Assert.assertEquals(MultipartRequestBuilder.class, restPipe.getRequestBuilder().getClass());
Object restRunner = UnitTestUtils.getPrivateField(restPipe, "restRunner");
UnitTestUtils.setPrivateField(restRunner, "httpProviderFactory", new Provider<HttpProvider>() {
@Override