public void Test_DisplayFields_Visible() { var settings = new ActListSetting { Fields = "Address,CustomerName,CustomerPhone" }; Assert.AreEqual(3, settings.DisplayFields.Count(s => s.Show)); }
public void Test_DisplayFields_All() { var settings = new ActListSetting(); Assert.AreEqual(11, settings.DisplayFields.Count); }