'C{registerProducer} and C{unregisterProducer} on TLS transports
created as SSL from the get go are passed to the
C{TLSMemoryBIOProtocol}, not the underlying transport directly.'

def test_producerSSLFromStart(self):

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