NetworkRequestCreator { NetworkRequest createDownloadRequest(String url) { return new LiteNetworkRequest(new HashMap<>(), url, NetworkRequest.Method.GET); }    }
@Test public void createsDownloadRequest() { NetworkRequest networkRequest = networkRequestCreator.createDownloadRequest("http: NetworkRequest expectedNetworkRequest = aNetworkRequest() .withUrl("http: .withMethod(NetworkRequest.Method.GET) .build(); assertThatNetworkRequestsAreEqual(networkRequest, expectedNetworkRequest); }