Esempio n. 1
0
        public void BuildCleanTask_NoContext()
        {
            var cleanCategory  = "Build";
            var category       = "Clean";
            var taskType       = $"{category}-{cleanCategory}";
            var parentTaskName = $"{taskType}-All";
            var taskName       = "BuildClean";

            ICakeContext context = null;

            Assert.ThrowsException <ArgumentNullException>(() => context.BuildCleanTask(taskName));
        }