andThrowExceptions() public method

Set Exception classes to be thrown
public andThrowExceptions ( array $exceptions ) : self
$exceptions array
return self
 /**
  * @return $this
  */
 public function andThrowExceptions(array $exceptions)
 {
     $this->expectation->andThrowExceptions($exceptions);
     return $this;
 }