public void When_Passing_No_Query_Or_Json_Then_Empty_Search_Parameter_Is_Returned()
        {
            // ARRANGE
            InitializeFakeObjects();

            // ACTS & ASSERTS
            Assert.NotNull(_searchParameterParser.ParseQuery(null));
            Assert.NotNull(_searchParameterParser.ParseJson(null));
        }
Example #2
0
        public Task <ApiActionResult> SearchUsers(JObject jObj, string locationPattern)
        {
            var searchParam = _searchParameterParser.ParseJson(jObj);

            return(_getRepresentationsAction.Execute(Common.Constants.ResourceTypes.User, searchParam, locationPattern));
        }