public function testPermutationsChooseKKGreaterThanNException() { $this->setExpectedException('MathPHP\\Exception\\OutOfBoundsException'); Combinatorics::permutations(3, 4); }