ElementsBuilder<T>class can be used to provide AutoFixture with the values to fish from.
Encoding, AutoFixture always returns
ElementsBuilder<EncodingInfo>to the set of customizations. We can then use
Registerto instruct AutoFixture to extract an
Encodingfrom the random
Streamrequire special setup.
Streamproperty receives the singleton value of the
Withcan be used.
MemoryStreamcan be used to return the test data.
Optionsso that its instances have the property
Valuesset to a dictionary containing an item with a well-known key and a value generated by AutoFixture.