/** * @expectedException \Phpml\Exception\MatrixException */ public function testThrowExceptionOnInvalidColumnNumber() { $matrix = new Matrix([[1, 2, 3], [4, 5, 6]]); $matrix->getColumnValues(4); }