expectedOutput.append("\r\n");
expectedOutput.append("GET http://test/dummy/url2\r\n");
expectedOutput.append("\r\n");
expectedOutput.append("--__END_OF_PART__--\r\n");
MockHttpTransport transport = new MockHttpTransport();
HttpRequest request1 = transport.createRequestFactory().buildRequest(
request1Method, new GenericUrl(request1Url),
new ByteArrayContent(request1ContentType, request1Content.getBytes()));
HttpRequest request2 = transport.createRequestFactory()
.buildRequest(request2Method, new GenericUrl(request2Url), null);
subtestExecute_checkWriteTo(expectedOutput.toString(), request1, request2);