public function isInstanceOf($exception)
 {
     AssertAdapter::assertTrue(class_exists($exception), "Cannot find expected exception class: {$exception}.");
     AssertAdapter::assertInstanceOf($exception, $this->exception);
     return $this;
 }
Exemple #2
0
 public function isInstanceOf($exception)
 {
     AssertAdapter::assertInstanceOf($exception, $this->exception);
     return $this;
 }