def connected_amp_protocol():
    p = AMP()
    p.makeConnection(StringTransport())
    return p
:return: ``AMP`` hooked up to transport.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/testtools/amp.py/connected_amp_protocol