public function match($actual)
    {
        $this->validateCallable($actual);

        list($exception, $message) = $this->callableException($actual);
        $this->setMessage($message);

        return $this->matchMessage($actual, $exception, $message);
    }
public function match($actual)
    {
        $this->validateCallable($actual);

        list($exception, $message) = $this->callableException($actual);
        $this->setMessage($message);

        return $this->matchMessage($actual, $exception, $message);
    }
public function match ( $ actual ) { $ this -> validateCallable ( $ actual ) ; list ( $ exception , $ message ) = $ this -> callableException ( $ actual ) ; $ this -> setMessage ( $ message ) ; return $ this -> matchMessage ( $ actual , $ exception , $ message ) ; }
Executes the callable and matches the exception type and exception message.

@param $actual
@return Match
Executes the callable and matches the exception type and exception message .