/**
  * Replays the response of the given track.
  *
  * This is done by throwing a TapeRecorderException, which will trigger the exception event of the
  * TapeRecorderSubscriber.
  *
  * @param TrackInterface $track The track.
  *
  * @throws TapeRecorderException The Tape Recorder exception.
  */
 private function replayResponse(TrackInterface $track)
 {
     $e = TapeRecorderException::interceptingRequest();
     $e->setResponse($track->getResponse());
     throw $e;
 }