public function testRegularizedIncompleteBetaExceptionXOutOfBounds() { $x = -1; $this->setExpectedException('MathPHP\\Exception\\OutOfBoundsException'); Special::regularizedIncompleteBeta($x, 4, 4); }