'Test that when a short datagram is received, datagramReceived does
not raise an exception while processing it.'

def test_truncatedPacket(self):

    self.proto.datagramReceived('', address.IPv4Address('UDP', '127.0.0.1', 12345))
    self.assertEqual(self.controller.messages, [])
