public function dump()
    {
        foreach ($this->tapes as $tape) {
            if ($tape->hasResponses()) {
                $fileName = 'record_'.$tape->getName().'.json';
                $content = $this->formatter->encodeResponsesCollection($tape->getResponses());
                $this->writer->write($fileName, $content);
            }
        }
    }