public void DynamicMethodInvoke() { var sample = new Sample1() { Id = 1 }; sample.AsDynamic().Apply(5); sample.Id.Should().Be(6); }