public void TheDefaultConstructor() { var y = new SomethingDerived(); var thing = new DomainGenerator() .With<SomethingToGenerate>(o => o.Construct(y)) .One<SomethingToGenerate>(); Assert.NotNull(thing.GetValue()); }
public void TheDefaultConstructor() { var y = new SomethingDerived(); var thing = new DomainGenerator() .With <SomethingToGenerate>(o => o.Construct(y)) .One <SomethingToGenerate>(); Assert.NotNull(thing.GetValue()); }