public void CheckWordsInUnigramFromTable_NullList()
        {
            var provider = new SqlQueryProvider(_names);

            Exception ex = Assert.Throws <ArgumentException>(() => provider.CheckWordsInUnigramFromTable(null));

            Assert.Equal("List<string> 'wordList' can't be null", ex.Message);
        }
        public void CheckWordsInUnigramFromTable_NormalExample()
        {
            var wordList = new List <string>
            {
                @"\a",
                "b",
                @"'c"
            };

            var provider = new SqlQueryProvider(_names);
            var result   = provider.CheckWordsInUnigramFromTable(wordList);

            const string str = @"SELECT * FROM uni WHERE Word1='\\a' OR Word1='b' OR Word1='\'c';";

            Assert.Equal(str, result);
        }