public void MapToAspNet()
        {
            WebDirectoryScriptMap task = new WebDirectoryScriptMap();

            task.BuildEngine          = new MockBuild();
            task.VirtualDirectoryName = TestWebDirectoryName;
            task.Extension            = "msbct";
            task.MapToAspNet          = true;
            Assert.IsTrue(task.Execute(), "Task should have succeeded.");
        }
        public void AddScriptMap_using_wildcard()
        {
            WebDirectoryScriptMap task = new WebDirectoryScriptMap();

            task.BuildEngine          = new MockBuild();
            task.VirtualDirectoryName = TestWebDirectoryName;
            task.Extension            = "*";
            task.VerifyFileExists     = false;
            task.MapToAspNet          = true;
            Assert.IsTrue(task.Execute(), "Task should have succeeded.");
        }