async def METHOD_NAME(socks5_server):
    """
    Test if sending a TCP data to the server succeeds.
    """
    await socks5_server.start()
    client = Socks5Client(('127.0.0.1', socks5_server.port), Mock())
    await client.connect_tcp(('127.0.0.1', 123))
    client.write(b' ')
    await sleep(.1)
    socks5_server.output_stream.on_socks5_tcp_data.assert_called_once_with(socks5_server.sessions[0],
                                                                           ('127.0.0.1', 123), b' ')