When attempting to fake types that have immutable collection properties (i.e. IImmutableList), AutoFaker.Generate<T>() throws an exception due to not being able to find a parameterless constructor for the immutable type, since immutable collections are instead created via the type's .Create() method.
When attempting to fake types that have immutable collection properties (i.e. IImmutableList),
AutoFaker.Generate<T>()
throws an exception due to not being able to find a parameterless constructor for the immutable type, since immutable collections are instead created via the type's.Create()
method.