public void TestForCreateGrammar2()
        {
            InitializeRecorder testForCreateGrammar2 = new InitializeRecorder();
            SqlConnection      testConnection8       = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\VoiceSearch\VoiceRecognition\TestDatabase.mdf;Integrated Security=True");

            testForCreateGrammar2.CreateGrammar(testConnection8);
            Assert.AreEqual(testForCreateGrammar2.recognizer.Grammars.Count, 1);
        }
        public void TestForCreateGrammar1()
        {
            InitializeRecorder testForCreateGrammar1 = new InitializeRecorder();
            frmVoiceSearch     testForCreateGrammar  = new frmVoiceSearch();
            SqlConnection      testConnection7       = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\VoiceSearch\VoiceRecognition\Patient_Details.mdf;Integrated Security=True");

            testForCreateGrammar1.CreateGrammar(testConnection7);
            Assert.AreEqual(testForCreateGrammar1.recognizer.Grammars.Count, 2);
        }