public function testIdentityExceptionNLessThanZero() { $this->setExpectedException('MathPHP\\Exception\\OutOfBoundsException'); MatrixFactory::identity(-1); }