public void ExecuteTask_WithConfiguration()
        {
            Parent.CleanTask victim = new Parent.CleanTask(false);
            victim.BaseDirectory = new DirectoryInfo(_baseFolder);
            victim.Projects      = "One,Two";
            victim.Configuration = "Debug";
            victim.ExecuteForTest();

            List <string> mustNotExist = new List <string>();

            mustNotExist.Add("One/bin/Debug");
            mustNotExist.Add("One/obj/Debug");

            mustNotExist.Add("Two/bin/Debug");
            mustNotExist.Add("Two/obj/Debug");

            List <string> mustExist = new List <string>();

            mustExist.Add("One/bin/Release");
            mustExist.Add("One/obj/Release");

            mustExist.Add("Two/bin/Release");
            mustExist.Add("Two/obj/Release");

            CheckStructure(mustNotExist, mustExist);
        }
        public void ExecuteTask_Default()
        {
            Parent.CleanTask victim = new Parent.CleanTask(false);
            victim.BaseDirectory = new DirectoryInfo(_baseFolder);
            victim.Projects = "One,Two";
            victim.ExecuteForTest();

            List<string> mustNotExist = new List<string>();
            mustNotExist.Add("One/bin/Debug");
            mustNotExist.Add("One/bin/Release");
            mustNotExist.Add("One/obj/Debug");
            mustNotExist.Add("One/obj/Release");

            mustNotExist.Add("Two/bin/Debug");
            mustNotExist.Add("Two/bin/Release");
            mustNotExist.Add("Two/obj/Debug");
            mustNotExist.Add("Two/obj/Release");

            List<string> mustExist = new List<string>();
            mustExist.Add("One");
            mustExist.Add("Two");

            CheckStructure(mustNotExist, mustExist);
        }