public void MergeRootEntities() { var destination = new ExplicitDeclarationsHolder(); var source = new ExplicitDeclarationsHolder(); source.AddAsRootEntity(typeof (MyClass)); destination.Merge(source); destination.RootEntities.Should().Have.Count.EqualTo(1); }
public void MergeRootEntities() { var destination = new ExplicitDeclarationsHolder(); var source = new ExplicitDeclarationsHolder(); source.AddAsRootEntity(typeof (MyClass)); destination.Merge(source); Assert.That(destination.RootEntities, Has.Count.EqualTo(1)); }