# Functions
NewMockReadCloser constructs a ReadCloser bound to the given test and byte slice.
NewMockWriteCloser constructs a MockWriteCloser for a given test.
# Structs
MockReadCloser implements reading from a predefined byte slice and tracks closed state for testing.
MockWriteCloser tracks write+close state for testing purposes.