'When a binary box protocol sends a box, it should emit the serialized
bytes of that box to its transport.'

def test_sendBox(self):

    a = amp.BinaryBoxProtocol(self)
    a.makeConnection(self)
    aBox = amp.Box({'testKey': 'valueTest', 'someData': 'hello'})
    a.makeConnection(self)
    a.sendBox(aBox)
    self.assertEqual(''.join(self.data), aBox.serialize())
