/**
  * @param Exception $e
  * @param array $extra
  */
 public function report(Exception $e, array $extra = [])
 {
     if ($extra) {
         throw new \InvalidArgumentException('Exceptiontrap doesn\'t support context for exceptions');
     }
     $this->exceptiontrap->handleException($e);
 }
 /**
  * @vcr exceptiontrap.yml
  */
 public function testReport()
 {
     // Arrange.
     $exceptiontrap = new Exceptiontrap_Client();
     $exceptiontrap = new Exceptiontrap($exceptiontrap);
     $exception = new CollaboratorException('No collab!');
     // Act & PHP-VCR Asserts.
     $exceptiontrap->report($exception);
 }