'Pull consumers don\'t get their C{pauseProducing} method called if the
descriptor buffer fills up.
@param _methodName: Either \'write\', or \'writeSequence\', indicating
which transport method to write data to.'

def _dontPausePullConsumerTest(self, methodName):

    descriptor = SillyDescriptor()
    producer = DummyProducer()
    descriptor.registerProducer(producer, streaming=False)
    self.assertEqual(producer.events, ['resume'])
    del producer.events[:]
    if (methodName == 'writeSequence'):
        descriptor.writeSequence(['1', '2', '3', '4'])
    else:
        descriptor.write('1234')
    self.assertEqual(producer.events, [])
