'C{registerProducer} and C{unregisterProducer} on TLS transports
created by C{startTLS} are passed to the C{TLSMemoryBIOProtocol}, not
the underlying transport directly.'

def test_producerAfterStartTLS(self):

    result = []
    producer = FakeProducer()
    runProtocolsWithReactor(self, ConnectableProtocol(), ProducerProtocol(producer, result), StartTLSClientCreator())
    self.assertEqual(result, [producer, None])
