public void It_Creates_With_No_Value() { var factory = new DynamicPropertyFactory(); var property = factory.Create <TestEntity>(DefaultPropertyName); property.Value.Should().BeNull(); }
public void It_Creates_With_Value() { var myValue = new TestEntity(); var factory = new DynamicPropertyFactory(); var property = factory.Create(DefaultPropertyName, myValue); property.Value.Should().Be(myValue); }