@@ -0,0 +1,1690 @@
+package com.novoda.downloadmanager;%0A%0Aimport java.io.ByteArrayInputStream;%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0A%0Aclass NetworkResponseFixtures %7B%0A%0A    private int code = 201;%0A    private boolean isSuccessful = true;%0A    private String header = %22header%22;%0A    private InputStream inputStream = new ByteArrayInputStream(%22input%22.getBytes());%0A%0A    static NetworkResponseFixtures aNetworkResponse() %7B%0A        return new NetworkResponseFixtures();%0A    %7D%0A%0A    NetworkResponseFixtures withCode(int code) %7B%0A        this.code = code;%0A        return this;%0A    %7D%0A%0A    NetworkResponseFixtures withSuccessful(boolean successful) %7B%0A        isSuccessful = successful;%0A        return this;%0A    %7D%0A%0A    NetworkResponseFixtures withHeader(String header) %7B%0A        this.header = header;%0A        return this;%0A    %7D%0A%0A    NetworkResponseFixtures withInputStream(InputStream inputStream) %7B%0A        this.inputStream = inputStream;%0A        return this;%0A    %7D%0A%0A    HttpClient.NetworkResponse build() %7B%0A        return new HttpClient.NetworkResponse() %7B%0A            @Override%0A            public int code() %7B%0A                return code;%0A            %7D%0A%0A            @Override%0A            public boolean isSuccessful() %7B%0A                return isSuccessful;%0A            %7D%0A%0A            @Override%0A            public String header(String name, String defaultValue) %7B%0A                return header;%0A            %7D%0A%0A            @Override%0A            public InputStream openByteStream() throws IOException %7B%0A                return inputStream;%0A            %7D%0A%0A            @Override%0A            public void closeByteStream() throws IOException %7B%0A                inputStream.close();%0A            %7D%0A        %7D;%0A    %7D%0A%7D%0A

Add a fixture for a network response.