Code: Select all
fixture.Customize(ob => ob.With(x => x.Id, 123)); // this customization is ignored
fixture.Customize(ob => ob.With(x => x.Rev, 4341)); // only this one takes place
< /code>
, um diesem Ausschnitt entsprechend zu sein: < /p>
fixture.Customize(ob => ob
.With(x => x.Id, 123)
.With(x => x.Rev, 4341)); // both customization are applied