'When the TLS transport is not blocked on reads, it correctly calls
resumeProducing on the registered producer.'

def test_streamingProducerResumedInNormalMode(self):

    (_, tlsProtocol, producer) = self.setupStreamingProducer()
    tlsProtocol.transport.producer.pauseProducing()
    self.assertEqual(producer.producerHistory, ['pause'])
    tlsProtocol.transport.producer.resumeProducing()
    self.assertEqual(producer.producerState, 'producing')
    self.assertEqual(producer.producerHistory, ['pause', 'resume'])
    self.assertFalse(tlsProtocol._producer._producerPaused)
