public void Test_emptyButValidKeywordsValidKw()
        {
            SearchManagementController searchCon = new SearchManagementController();

            SearchCriteria validKey = new SearchCriteria
            {
                anyKeywordString = _randomKeyword.KeywordValue,
                allKeywordString = null,
                noneKeywordString = null,
                patientFirstName = null,
                patientLastName = null,
                questionType = null,
                requestorFirstName = null,
                requestorLastName = null,
                requestStatus = null,
                tumorGroup = null,
                severity = null,
                consequence = null,
            };

            bool keywordValid = searchCon.emptyButValidKeywords(validKey);
            Assert.IsFalse(keywordValid);
        }
        public void Test_emptyButValidKeywordWithOneValid()
        {
            SearchManagementController searchCon = new SearchManagementController();
            SearchCriteria oneKeyInvalid = new SearchCriteria
            {
                anyKeywordString = _randomKeyword.KeywordValue,
                allKeywordString = "3-09258340598!@#$",
                noneKeywordString = null,
                patientFirstName = null,
                patientLastName = null,
                questionType = null,
                requestorFirstName = null,
                requestorLastName = null,
                requestStatus = null,
                tumorGroup = null,
                severity = null,
                consequence = null,
            };

            bool oneKeywordInvalid =
                searchCon.emptyButValidKeywords(oneKeyInvalid);
            Assert.IsFalse(oneKeywordInvalid);
        }
        public void Test_emptyButValidKeywordsInvalidKw()
        {
            SearchManagementController searchCon = new SearchManagementController();
            SearchCriteria invalidKey = new SearchCriteria
            {
                anyKeywordString = null,
                allKeywordString = "239048230-948!@#",
                noneKeywordString = null,
                patientFirstName = null,
                patientLastName = null,
                questionType = null,
                requestorFirstName = null,
                requestorLastName = null,
                requestStatus = null,
                tumorGroup = null,
                severity = null,
                consequence = null,
            };

            bool keywordInvalid = searchCon.emptyButValidKeywords(invalidKey);
            Assert.IsTrue(keywordInvalid);
        }