public function testMultiplyMatrixWrongSizes() { $matrix1 = $this->buildMatrix(); $matrix2 = new Matrix([[4, 2, 6], [1, 7, 3], [7, 3, 2]]); static::expectException(MatrixException::class); $matrix1->multiplyMatrix($matrix2); }