public void override_the_label_and_field_layout_with_a_func() { var profile = new TagProfile("default"); profile.UseLabelAndFieldLayout(() => new FakeLabelAndField()); profile.NewLabelAndFieldLayout().ShouldBeOfType <FakeLabelAndField>(); }
public void override_the_label_and_field_layout_with_a_func() { var profile = new TagProfile("default"); profile.UseLabelAndFieldLayout(() => new FakeLabelAndField()); profile.NewLabelAndFieldLayout().ShouldBeOfType<FakeLabelAndField>(); }