public void Should_change_font_of_the_row() { //----------------------------------------------------------------------------------------------------------- // Arrange //----------------------------------------------------------------------------------------------------------- ExcelRow row = excelPackage.Workbook.Worksheets.First().Row(4); //----------------------------------------------------------------------------------------------------------- // Act //----------------------------------------------------------------------------------------------------------- row.SetFont(new Font("Arial", 15)); //----------------------------------------------------------------------------------------------------------- // Assert //----------------------------------------------------------------------------------------------------------- row.Style.Font.Name.Should().Be("Arial"); row.Style.Font.Size.Should().Be(15); }