This Gem::StreamUI subclass records input and output to StringIO for retrieval during tests.
[Validate]