@@ -0,0 +1,1118 @@
+package kg.apc.jmeter.reporters;%0A%0Aimport org.apache.commons.httpclient.methods.multipart.Part;%0Aimport org.apache.jorphan.logging.LoggingManager;%0Aimport org.apache.log.Logger;%0Aimport org.loadosophia.jmeter.LoadosophiaAPIClient;%0Aimport org.loadosophia.jmeter.StatusNotifierCallback;%0A%0Aimport java.io.IOException;%0Aimport java.util.Arrays;%0Aimport java.util.LinkedList;%0A%0A%0Aclass FakeAPIClient extends LoadosophiaAPIClient %7B%0A    private static final Logger log = LoggingManager.getLoggerForClass();%0A%0A    private LinkedList%3CString%5B%5D%3E response;%0A%0A    private FakeAPIClient(StatusNotifierCallback aThis, LinkedList%3CString%5B%5D%3E aresponse) %7B%0A        super(aThis, %22TEST%22, %22TEST%22, COLOR_NONE, %22TEST%22, %22TEST%22);%0A        response = aresponse;%0A    %7D%0A%0A    @Override%0A    protected String%5B%5D getUploadStatus(int queueID) throws IOException %7B%0A        String%5B%5D resp = response.pop();%0A        log.info(%22Simulating response: %22 + Arrays.toString(resp));%0A        return resp;%0A    %7D%0A%0A    @Override%0A    protected String%5B%5D multipartPost(LinkedList%3CPart%3E parts, String URL, int expectedSC) throws IOException %7B%0A        return getUploadStatus(0);%0A    %7D%0A%7D%0A

Refactor out fake api client