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

def test_stringReceivedNotImplemented(self):

    proto = basic.NetstringReceiver()
    self.assertRaises(NotImplementedError, proto.stringReceived, 'foo')
