Beispiel #1
0
        public void get_path_without_parent()
        {
            var structure = new StubGrammarStructure
            {
                Name = "grammar1"
            };

            structure.GetPath().Locator.ShouldEqual("grammar1");
        }
Beispiel #2
0
        public void get_path_with_parent()
        {
            var structure = new StubGrammarStructure
            {
                Name   = "grammar1",
                Parent = new FixtureGraph("fixture1")
            };

            structure.GetPath().Locator.ShouldEqual("fixture1/grammar1");
        }
 public void get_path_with_parent()
 {
     var structure = new StubGrammarStructure
     {
         Name = "grammar1",
         Parent = new FixtureGraph("fixture1")
     };
     structure.GetPath().Locator.ShouldEqual("fixture1/grammar1");
 }
 public void get_path_without_parent()
 {
     var structure = new StubGrammarStructure
     {
         Name = "grammar1"
     };
     structure.GetPath().Locator.ShouldEqual("grammar1");
 }