public void Should_make_query_with_matchs() { var filter = ClrFilter.Matchs("Text", "^search$"); AssertQuery("{ 'Text' : /^search$/i }", filter); }
public void Should_make_query_with_matchs_and_regex_case_sensitive_syntax() { var filter = ClrFilter.Matchs("Text", "/search/"); AssertQuery("{ 'Text' : /search/ }", filter); }
public void Should_make_query_with_matchs_and_null_value() { var filter = ClrFilter.Matchs("Text", null !); AssertQuery("{ 'Text' : /null/i }", filter); }