@Ignore("need to fix concurrency logic")
@Test
public void execute_withSingleInvalidHttpResponse_shouldFailAllTasks() throws Exception {

    subject = new ImageDownloadTaskManager(
            Arrays.asList(url1, url1, url1, url1, url1),
            mMockImageTaskManagerListener,
            testMaxWidth
    );
    fakeHttpLayer.addPendingHttpResponse(200, "");
    fakeHttpLayer.addPendingHttpResponse(200, "");
    fakeHttpLayer.addPendingHttpResponse(200, "");
    fakeHttpLayer.addPendingHttpResponse(200, "");
    fakeHttpLayer.addPendingHttpResponse(createMockHttpResponseThatThrowsOnGetContent());
    subject.execute();
    semaphore.acquire();
    verify(mMockImageTaskManagerListener, never()).onSuccess(anyMap());
    verify(mMockImageTaskManagerListener).onFail();
}