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