'L{error.ProcessDone} with status=0 is turned into a clean disconnect
type, i.e. L{error.ConnectionDone}.'

def test_processDone(self):

    d = self.ep.connect(self.factory)
    self.successResultOf(d)
    wpp = self.reactor.processProtocol
    wpp.processEnded(Failure(error.ProcessDone(0)))
    self.assertEqual(wpp.protocol.reason.check(error.ConnectionDone), error.ConnectionDone)
