def METHOD_NAME(transport, transport_logger, get_latest_log):
    # Normal log, multi-line data written.
    transport.to_return = 20
    transport_logger.write(b"data" * 6, 3.0)
    assert get_latest_log() == (
        "foo: write { 3.00s}        <- [ 24 B]:\n"
        "0000  64 61 74 61 64 61 74 61 64 61 74 61 64 61 74 61  datadatadatadata\n"
        "0010  64 61 74 61 64 61 74 61                          datadata"
    )