示例#1
0
        public void override_the_label_and_field_layout_with_a_func()
        {
            var profile = new TagProfile("default");

            profile.UseLabelAndFieldLayout(() => new FakeLabelAndField());
            profile.NewLabelAndFieldLayout().ShouldBeOfType <FakeLabelAndField>();
        }
示例#2
0
 public void override_the_label_and_field_layout_with_a_func()
 {
     var profile = new TagProfile("default");
     profile.UseLabelAndFieldLayout(() => new FakeLabelAndField());
     profile.NewLabelAndFieldLayout().ShouldBeOfType<FakeLabelAndField>();
 }
示例#3
0
        public void by_default_the_label_and_field_layout_is_definition_list()
        {
            var profile = new TagProfile("default");

            profile.NewLabelAndFieldLayout().ShouldBeOfType <DefinitionListLabelAndField>();
        }
示例#4
0
 public void by_default_the_label_and_field_layout_is_definition_list()
 {
     var profile = new TagProfile("default");
     profile.NewLabelAndFieldLayout().ShouldBeOfType<DefinitionListLabelAndField>();
 }