public void FindByFieldValue(string fieldName, string fieldValue, Soql.ComparisonOperator comparisonOperator, bool expected) { var result = this.ContactsApi.FindByFieldValue(fieldName, fieldValue, comparisonOperator, 0, int.MaxValue); Assert.NotNull(result); Assert.AreEqual(expected, result.Any()); }
public int GetTotalCountByFieldValue(string fieldName, string fieldValue, Soql.ComparisonOperator comparisonOperator) { return(this.ContactsApi.GetTotalCountByFieldValue(fieldName, fieldValue, comparisonOperator)); }