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