public function testRectangularTrace() { $matrix = $this->buildMatrix(); static::expectException(MatrixException::class); $matrix->trace(); }