public void ApplyUnderlineToLastColumnIf() { SectionRow.UnderlineIf(false); var row = (IEnumerable <object>)SectionRow.Build(); Assert.Equal(row.Last(), @"Text"); SectionRow.UnderlineIf(true); row = (IEnumerable <object>)SectionRow.Build(); Assert.Equal(row.Last(), @"_Text_"); }