Example #1
0
        public void BuildTask_NoContext()
        {
            var category       = "Build";
            var taskType       = $"{category}";
            var parentTaskName = $"{taskType}-All";
            var taskName       = "PreBuild";

            ICakeContext context = null;

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