public void title_as_key_and_default_text()
 {
     var key = new MenuItemAttribute("SomeTitle", "some title").Title;
     key.DefaultValue.ShouldEqual("some title");
     key.Key.ShouldEqual("SomeTitle");
     key.ShouldBeOfType<NavigationKey>();
 }
        public void title_as_key_and_default_text()
        {
            var key = new MenuItemAttribute("SomeTitle", "some title").Title;

            key.DefaultValue.ShouldEqual("some title");
            key.Key.ShouldEqual("SomeTitle");
            key.ShouldBeOfType <NavigationKey>();
        }
Пример #3
0
        public void title_as_just_text()
        {
            var key = new MenuItemAttribute("some title").Title;

            key.DefaultValue.ShouldBe("some title");
            key.Key.ShouldBe("some title");
            key.ShouldBeOfType <NavigationKey>();
        }