Пример #1
0
            public void Should_include_the_name_of_the_parent_project()
            {
                var project = new MasterModel().CreateProject(x => x.Name = "Foo");
                var group   = project.CreateGroup(x => x.Name = "Bar");

                group.FullName.ShouldEqual("Foo.Bar");
            }
Пример #2
0
            public void Should_set_parentProject()
            {
                var project = new MasterModel().CreateProject();
                var group   = project.CreateGroup();

                group.ParentProject.ShouldBeSameAs(project);
            }