### Question:
DownloadCache { void setRedirectLocation(String redirectLocation) { this.redirectLocation = redirectLocation; } DownloadCache(@NonNull MultiPointOutputStream outputStream); private  DownloadCache(); boolean isUserCanceled(); boolean isPreAllocateFailed(); boolean isInterrupt(); void setPreconditionFailed(IOException realCause); void setFileBusyAfterRun(); void setServerCanceled(IOException realCause); void setUnknownError(IOException realCause); void setPreAllocateFailed(IOException realCause); void catchException(IOException e);  }### Answer:
@Test public void setRedirectLocation() throws Exception { final String redirectLocation = "redirectLocation"; cache.setRedirectLocation(redirectLocation); assertThat(cache.getRedirectLocation()).isEqualTo(redirectLocation); }