def METHOD_NAME(transport, transport_logger, get_latest_log):
    transport.to_return = 3
    transport_logger.write(b"data", 3.0)
    assert get_latest_log() == (
        "foo: write { 3.00s}        <- [  4 B]: 64 61 74 61"
        "                                      data"
    )