public void MergeBags() { var destination = new ExplicitDeclarationsHolder(); var source = new ExplicitDeclarationsHolder(); source.AddAsBag(property); destination.Merge(source); destination.Bags.Should().Have.Count.EqualTo(1); }
public void MergeBags() { var destination = new ExplicitDeclarationsHolder(); var source = new ExplicitDeclarationsHolder(); source.AddAsBag(property); destination.Merge(source); Assert.That(destination.Bags, Has.Count.EqualTo(1)); }