NetworkRequestCreator { NetworkRequest createFileSizeBodyRequest(String url) { return new LiteNetworkRequest(DISABLE_COMPRESSION_HEADERS, url, NetworkRequest.Method.GET); }    }
@Test public void createsFileSizeBodyRequest() { NetworkRequest networkRequest = networkRequestCreator.createFileSizeBodyRequest("http: NetworkRequest expectedNetworkRequest = aNetworkRequest() .withHeader("Accept-Encoding", "identity") .withUrl("http: .withMethod(NetworkRequest.Method.GET) .build(); assertThatNetworkRequestsAreEqual(networkRequest, expectedNetworkRequest); }