@@ -0,0 +1,936 @@
+%0Apackage org.jenkinsci.plugins.relution_publisher.unittest.mocks;%0A%0Aimport org.apache.http.HttpResponse;%0Aimport org.apache.http.StatusLine;%0Aimport org.jenkinsci.plugins.relution_publisher.net.responses.ApiResponse;%0Aimport org.jenkinsci.plugins.relution_publisher.unittest.io.ResourceReader;%0A%0Aimport java.io.IOException;%0A%0A%0Apublic class ResponseBuilder %7B%0A%0A    public ApiResponse create(final String resourceName, final int httpStatus, final String reason) throws IOException %7B%0A        final StatusLine statusLine = new MockStatusLine(httpStatus, reason);%0A%0A        final HttpResponse httpResponse = new MockHttpResponse();%0A        httpResponse.setStatusLine(statusLine);%0A%0A        final ResourceReader reader = new ResourceReader();%0A        final String json = reader.readString(resourceName);%0A%0A        final ApiResponse response = ApiResponse.fromJson(json);%0A        response.setHttpResponse(httpResponse);%0A        return response;%0A    %7D%0A%7D%0A

Add response builder for unit tests