def test_registerProducer(self):
        producer = object()
        streaming = object()
        self.transport.registerProducer(producer, streaming)
        self.assertIdentical(self.transport.producer, producer)
        self.assertIdentical(self.transport.streaming, streaming)
Updates the editor when the object trait changes externally to the
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_stringtransport.py/StringTransportTests.test_registerProducer--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/wx/button_editor.py/SimpleEditor.update_editor