getActiveSheet(); $cellCoordinate = 'A1'; $cell1 = $sheet->getCell($cellCoordinate); $cell1style = $cell1->getStyle(); self::assertSame($spreadsheet, $cell1style->getParent()); $styleArray = ['alignment' => ['textRotation' => 45]]; $outArray = $cell1style->getStyleArray($styleArray); self::assertEquals($styleArray, $outArray['quotePrefix']); } }