### Question:
ChunkManagerDummyImpl implements ChunkManager { @Override public void writeChunk(Container container, BlockID blockID, ChunkInfo info, ChunkBuffer data, DispatcherContext dispatcherContext) throws StorageContainerException { Preconditions.checkNotNull(dispatcherContext); DispatcherContext.WriteChunkStage stage = dispatcherContext.getStage(); ContainerData containerData = container.getContainerData(); if (stage == DispatcherContext.WriteChunkStage.WRITE_DATA || stage == DispatcherContext.WriteChunkStage.COMBINED) { ChunkUtils.validateBufferSize(info.getLen(), data.remaining()); HddsVolume volume = containerData.getVolume(); VolumeIOStats volumeIOStats = volume.getVolumeIOStats(); volumeIOStats.incWriteOpCount(); volumeIOStats.incWriteBytes(info.getLen()); } if (stage == DispatcherContext.WriteChunkStage.COMMIT_DATA || stage == DispatcherContext.WriteChunkStage.COMBINED) { containerData.updateWriteStats(info.getLen(), false); } }  @Override void writeChunk(Container container, BlockID blockID, ChunkInfo info,
      ChunkBuffer data, DispatcherContext dispatcherContext); @Override ChunkBuffer readChunk(Container container, BlockID blockID,
      ChunkInfo info, DispatcherContext dispatcherContext); @Override void deleteChunk(Container container, BlockID blockID,
      ChunkInfo info); @Override void deleteChunks(Container container, BlockData blockData);  }### Answer:
@Test public void dummyManagerDoesNotWriteToFile() throws Exception { ChunkManager subject = createTestSubject(); DispatcherContext ctx = new DispatcherContext.Builder() .setStage(DispatcherContext.WriteChunkStage.WRITE_DATA).build(); subject.writeChunk(getKeyValueContainer(), getBlockID(), getChunkInfo(), getData(), ctx); checkChunkFileCount(0); }