def test_writeAfterLoseConnection(self):
        bytes = "some bytes"
        class SimpleSendingProtocol(Protocol):
            def connectionMade(self):
                self.transport.write(bytes)
                self.transport.loseConnection()
                self.transport.write("hello")
                self.transport.writeSequence(["world"])
        return self.writeBeforeHandshakeTest(SimpleSendingProtocol, bytes)
Add each of the names and fields in the ``fields`` attribute
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/protocols/test/test_tls.py/TLSMemoryBIOTests.test_writeAfterLoseConnection--crossover with--dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/generic/fields.py/BaseGenericRelation.contribute_to_class