public void checkpoint_cleans_up_on_dispose() { var checkpoint = new CheckpointStore(fixture.CheckpointPath); Directory.Exists(checkpoint.checkpointTempPath).Should().BeTrue(); checkpoint.Dispose(); Directory.Exists(checkpoint.checkpointTempPath).Should().BeFalse(); }
public void Dispose() { _checkpointStore.Dispose(); File.Delete(_filePath); }