this.testLogger = mockLogger;
}
public InputStream getInputStream() throws IOException {
testLogger.test(prefix + "getInputStream, responseType: " + responseType);
if (timeout) {
<BUG>SystemClock.sleep(10000);
}</BUG>
if (responseType == ResponseType.CLIENT_PROTOCOL_EXCEPTION) {
throw new IOException ("testResponseError");
} else if (responseType == ResponseType.WRONG_JSON) {

this.testLogger = mockLogger;
}
public InputStream getInputStream() throws IOException {
testLogger.test(prefix + "getInputStream, responseType: " + responseType);
if (timeout) {
SystemClock.sleep(10000);
}
if (waitingTime != null) {
SystemClock.sleep(waitingTime);
}
if (responseType == ResponseType.CLIENT_PROTOCOL_EXCEPTION) {
throw new IOException ("testResponseError");
} else if (responseType == ResponseType.WRONG_JSON) {
