def test_recvdContainsRemainingData(self):
        result = []
        r = self.getProtocol()
        def stringReceived(receivedString):
            result.append(r.recvd)
        r.stringReceived = stringReceived
        completeMessage = (struct.pack(r.structFormat, 5) + ('a' * 5))
        incompleteMessage = (struct.pack(r.structFormat, 5) + ('b' * 4))
        # Receive a complete message, followed by an incomplete one
        r.dataReceived(completeMessage + incompleteMessage)
        self.assertEquals(result, [incompleteMessage])
In stringReceived, recvd contains the remaining data that was passed to
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_protocols.py/RecvdAttributeMixin.test_recvdContainsRemainingData