### Question:
DownloadStrategy { public boolean isUseMultiBlock(final boolean isAcceptRange) { if (!OkDownload.with().outputStreamFactory().supportSeek()) return false; return isAcceptRange; }  ResumeAvailableResponseCheck resumeAvailableResponseCheck(
            DownloadConnection.Connected connected,
            int blockIndex,
            BreakpointInfo info); int determineBlockCount(@NonNull DownloadTask task, long totalLength); long reuseIdledSameInfoThresholdBytes(); boolean inspectAnotherSameInfo(@NonNull DownloadTask task, @NonNull BreakpointInfo info,
                                          long instanceLength); boolean isUseMultiBlock(final boolean isAcceptRange); void inspectFilenameFromResume(@NonNull String filenameOnStore,
                                          @NonNull DownloadTask task); void validFilenameFromResponse(@Nullable String responseFileName,
                                          @NonNull DownloadTask task,
                                          @NonNull BreakpointInfo info); boolean validFilenameFromStore(@NonNull DownloadTask task); void validInfoOnCompleted(@NonNull DownloadTask task, @NonNull DownloadStore store); @Nullable ResumeFailedCause getPreconditionFailedCause(int responseCode,
                                                                  boolean isAlreadyProceed,
                                                                  @NonNull BreakpointInfo info,
                                                                  @Nullable String responseEtag); boolean isServerCanceled(int responseCode, boolean isAlreadyProceed); void inspectNetworkAvailable(); void inspectNetworkOnWifi(@NonNull DownloadTask task);  }### Answer:
@Test public void isUseMultiBlock() throws IOException { mockOkDownload(); when(OkDownload.with().outputStreamFactory().supportSeek()).thenReturn(false); assertThat(strategy.isUseMultiBlock(false)).isFalse(); assertThat(strategy.isUseMultiBlock(true)).isFalse(); when(OkDownload.with().outputStreamFactory().supportSeek()).thenReturn(true); assertThat(strategy.isUseMultiBlock(true)).isTrue(); }