Mock objects for use with unit tests
Note: This module was created because the crate we previously used for mocking functions, Double, was written specifically for single-threaded code. Our APIs and services which utilize this crate are not guaranteed to be single-threaded, so we made the decision to create our own mock objects.
Mock object for simulating a UART data stream
Structure containing the output data or result to return when the MockStream's read function is called
Structure containing the input data to verify and/or result to return when the MockStream's write function is called