ElementsBuilder<T>
class can be used to provide AutoFixture with the values to fish from.Encoding
, AutoFixture always returns Encoding.UTF8
.ElementsBuilder<EncodingInfo>
to the set of customizations. We can then use Register
to instruct AutoFixture to extract an Encoding
from the random EncodingInfo
received.Stream
require special setup.NullStream
Stream
property receives the singleton value of the NullStream
class.With
can be used.MemoryStream
MemoryStream
can be used to return the test data.Fixture.RepeatCount
property.With
.Options
so that its instances have the property Values
set to a dictionary containing an item with a well-known key and a value generated by AutoFixture.