public function testMatrixUnknownTypeException() { $A = [[[1], [2], [3]], [[2], [3], [4]]]; $this->setExpectedException('MathPHP\\Exception\\IncorrectTypeException'); MatrixFactory::create($A); }