public function testCheckLimitsUpperLimitException(array $limits, array $params) { $this->setExpectedException('MathPHP\\Exception\\OutOfBoundsException'); Support::checkLimits($limits, $params); }