mageekguy\atoum\asserters\exception::check PHP Метод

check() защищенный Метод

protected check ( $value, $method )
    protected function check($value, $method)
    {
        if (self::isThrowable($value) === false) {
            throw new exceptions\logic\invalidArgument('Argument of ' . __CLASS__ . '::' . $method . '() must be an exception instance');
        }
        return $this;
    }