Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

autofixture ignore property

var person = fixture.Build<Person>()
    .Without(p => p.Spouse)
    .CreateAnonymous();
Source by blog.ploeh.dk #
 
PREVIOUS NEXT
Tagged: #autofixture #ignore #property
ADD COMMENT
Topic
Name
7+5 =