'Netstrings can be received in two portions.'

def test_receiveNetstringPortions_1(self):

    self.netstringReceiver.dataReceived('4:aa')
    self.netstringReceiver.dataReceived('aa,')
    self.assertEqual(self.netstringReceiver.received, ['aaaa'])
    self.assertTrue(self.netstringReceiver._payloadComplete())
