'When L{LineReceiver.rawDataReceived} is not overridden in a
subclass, calling it raises C{NotImplementedError}.'

def test_rawDataReceivedNotImplemented(self):

    proto = basic.LineReceiver()
    self.assertRaises(NotImplementedError, proto.rawDataReceived, 'foo')
