Open peterhe2000 opened 3 years ago
I hope to build a test model with a field from me using jFixture. I could do this in autofixture. var directDebitModel = _fixture.Build<DirectDebitModel>() .With(a => a.BSB, 'MyBSB') .Create();
var directDebitModel = _fixture.Build<DirectDebitModel>() .With(a => a.BSB, 'MyBSB') .Create();
Is there something similar in JFixture?
I think it's fixture.collections().something() You might need to pass in a generic Type like this: new SpecimenType<List<DIrectDebitModel>>(){}.
fixture.collections().something()
new SpecimenType<List<DIrectDebitModel>>(){}
I hope to build a test model with a field from me using jFixture. I could do this in autofixture.
var directDebitModel = _fixture.Build<DirectDebitModel>() .With(a => a.BSB, 'MyBSB') .Create();
Is there something similar in JFixture?