### Question:
MultiPointOutputStream { public void setRequireStreamBlocks(List<Integer> requireStreamBlocks) { this.requireStreamBlocks = requireStreamBlocks; } 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 setRequireStreamBlocks() { assertThat(multiPointOutputStream.requireStreamBlocks).isEqualTo(null); final List<Integer> requireStreamBlocks = new ArrayList<Integer>() {{ add(0); add(1); add(2); }}; multiPointOutputStream.setRequireStreamBlocks(requireStreamBlocks); assertThat(multiPointOutputStream.requireStreamBlocks).isEqualTo(requireStreamBlocks); }