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