public function testCombinationsExceptionNLessThanZero() { $this->setExpectedException('MathPHP\\Exception\\OutOfBoundsException'); Combinatorics::combinations(-1, 2); }