public void ListFieldIDs_FieldsListCountGreaterThanZero_ListReturnedHasSameCount() { FormViewModel form = new FormViewModel(); form.AddField(new TestFormField()); form.AddField(new TestFormField()); Assert.AreEqual(form.Fields.Count, form.ListFieldIDs().Count); }
public void ListFieldIDs_FieldsListCountIsZero_ListReturnedCountIsZero() { FormViewModel form = new FormViewModel(); Assert.AreEqual(0, form.ListFieldIDs().Count); }
public void ListFieldIDs_FieldsListCountIsZero_ListReturnedIsNotNull() { FormViewModel form = new FormViewModel(); Assert.IsNotNull(form.ListFieldIDs()); }