private bool MatchesFilterTest(string filterfieldValue, string modelValue, string operatorProperty) { var fieldName = "Test"; var filter = new SearchTermModel() { FieldName = fieldName, FieldType = FilterConstants.FilterFieldTypes.StringType, FieldValue = filterfieldValue, OperatorProperty = operatorProperty }; var model = new SubmissionMetaDataModel() { Name = fieldName, Type = FilterHelpers.GetFieldType(filter), Value = modelValue }; return(StringFilter.MatchesFilter(model, filter)); }