예제 #1
0
        public void ParseJobWithDependency()
        {
            var job = Job.Parse("a => b");

            job.Name.ShouldBe("a");
            job.HasDependency().ShouldBe(true);
        }
예제 #2
0
        public void ParseJobNoDependency()
        {
            var job = Job.Parse("a =>");

            job.Name.ShouldBe("a");
            job.HasDependency().ShouldBe(false);
        }