public void SharepointSearchTo_CanAdd_SearchTypeWithData_ReturnTrue()
 {
     //------------Setup for test--------------------------
     var searchTo = new SharepointSearchTo { SearchType = "Contains", FieldName = "Title"};
     //------------Execute Test---------------------------
     var canAdd = searchTo.CanAdd();
     //------------Assert Results-------------------------
     Assert.IsTrue(canAdd);
 }
 public void SharepointSearchTo_CanAdd_FieldNameEmpty_ReturnFalse()
 {
     //------------Setup for test--------------------------
     var searchTo = new SharepointSearchTo { SearchType = "Equal",FieldName = string.Empty};
     //------------Execute Test---------------------------
     var canAdd = searchTo.CanAdd();
     //------------Assert Results-------------------------
     Assert.IsFalse(canAdd);
 }