### Question:
DownloadCache { @NonNull MultiPointOutputStream getOutputStream() { if (outputStream == null) throw new IllegalArgumentException(); return outputStream; } 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 getOutputStream() throws Exception { assertThat(cache.getOutputStream()).isEqualTo(outputStream); }