public void UseNamespaceTest()
        {
            CodeGeneratorWrapper testCodeGeneratorWrapper = new CodeGeneratorWrapper();

            Assert.AreNotEqual("OK", testCodeGeneratorWrapper.CheckCode("MessageBox.Show(\"Test!\");"));
            testCodeGeneratorWrapper.UseNamespace("System.Windows.Forms", "System.Windows.Forms.dll");
            Assert.AreEqual("OK", testCodeGeneratorWrapper.CheckCode("MessageBox.Show(\"Test!\");"));
        }
        public void GetTasksIDsTest()
        {
            CodeGeneratorWrapper testCodeGeneratorWrapper = new CodeGeneratorWrapper();
            string codeSource = "for(int i=0;i<10;i++){Thread.Sleep(1000);}";

            testCodeGeneratorWrapper.UseNamespace("System.Threading", "System.Threading.dll");
            testCodeGeneratorWrapper.ExecuteCode(codeSource);
            testCodeGeneratorWrapper.ExecuteCode(codeSource);
            testCodeGeneratorWrapper.ExecuteCode(codeSource);
            Assert.AreEqual(3, testCodeGeneratorWrapper.GetTasksIDs().Length);
        }