public object Create(Type type, IChillObjectResolver objectResolver) { return(new Foo { Creator = nameof(FallbackFooAutoMother) }); }
/// <inheritdoc /> public object Create(Type type, IChillObjectResolver container) { if (!Applies(type)) { throw new InvalidOperationException("ObjectMother only applies to "); } return(Create()); }