public function testConcatenateRightWrongSizes() { $matrixA = new Matrix([[1, 2, 3]]); $matrixB = new Matrix([[4], [5], [6]]); static::expectException(MatrixException::class); $matrixA->concatenateRight($matrixB); }