### Question:
MultiPointOutputStream { public void catchBlockConnectException(int blockIndex) { noMoreStreamList.add(blockIndex); } MultiPointOutputStream(@NonNull final DownloadTask task,
                           @NonNull BreakpointInfo info,
                           @NonNull DownloadStore store,
                           @Nullable Runnable syncRunnable);  MultiPointOutputStream(@NonNull DownloadTask task,
                                  @NonNull BreakpointInfo info,
                                  @NonNull DownloadStore store); synchronized void write(int blockIndex, byte[] bytes, int length); void cancelAsync(); synchronized void cancel(); void done(int blockIndex); void inspectComplete(int blockIndex); void setRequireStreamBlocks(List<Integer> requireStreamBlocks); void catchBlockConnectException(int blockIndex);  }### Answer:
@Test public void catchBlockConnectException() { multiPointOutputStream.catchBlockConnectException(2); assertThat(multiPointOutputStream.noMoreStreamList).hasSize(1); assertThat(multiPointOutputStream.noMoreStreamList).containsExactly(2); }