public function testCheckLimitsUpperLimitEndpointException() { $this->setExpectedException('MathPHP\\Exception\\BadDataException'); $limits = ['x' => '(0,1}']; $params = ['x' => 0.5]; Support::checkLimits($limits, $params); }