Example #1
0
        public void format_description()
        {
            var key = new NavigationKey("something");

            new AddBefore().FormatDescription("parent", key)
            .ShouldEqual("Insert '{0}' before 'parent'".ToFormat(key.ToLocalizationKey()));
        }
Example #2
0
        public void format_description()
        {
            var key = new NavigationKey("something");

            new AddChild().FormatDescription("parent", key)
            .ShouldEqual("Add '{0}' to menu 'parent'".ToFormat(key.ToLocalizationKey()));
        }
 public void format_description()
 {
     var key = new NavigationKey("something");
     new AddAfter().FormatDescription("parent", key)
         .ShouldEqual("Insert '{0}' after 'parent'".ToFormat(key.ToLocalizationKey()));
 }
 public void format_description()
 {
     var key = new NavigationKey("something");
     new AddChild().FormatDescription("parent", key)
         .ShouldEqual("Add '{0}' to menu 'parent'".ToFormat(key.ToLocalizationKey()));
 }