public void InjectMetadataBuilderShouldSetBuilderOnEntry() { var entry = new ODataEntry(); var builder = new TestEntityMetadataBuilder(entry); testSubject.InjectMetadataBuilder(entry, builder); entry.MetadataBuilder.Should().BeSameAs(builder); }
public void InjectMetadataBuilderShouldSetBuilderOnEntry() { var entry = new ODataResource(); var builder = new TestEntityMetadataBuilder(entry); testSubject.InjectMetadataBuilder(entry, builder); Assert.Same(builder, entry.MetadataBuilder); }