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