ApplyOverrides() public method

public ApplyOverrides ( GrammarModel grammar ) : GrammarModel
grammar GrammarModel
return GrammarModel
        public void override_title()
        {
            var section1 = new EmbeddedSection
            {
                key = "Something",
                title = "Do something",
                fixture = new FixtureModel("Something")
            };

            var @override = new EmbeddedSection
            {
                key = "Something",
                title = "Do something different",
                fixture = new FixtureModel("Something")
            };

            section1.ApplyOverrides(@override)
                .ShouldBeOfType<EmbeddedSection>()
                .title.ShouldBe(@override.title);
        }