flash-mockstream 
A mockstream that implements std::io::Read, std::io::Write, tokio_io::AsyncRead and tokio_io::AsyncWrite.
It writes and reads from the same buffer so you can write from one end and read from other end;
See tests folder for examples.