'L{StreamServerEndpointService.startService} and
L{StreamServerEndpointService.privilegedStartService} should both log
an exception when the L{Deferred} returned from their wrapped
L{IStreamServerEndpoint.listen} fails.'

def test_failReportsError(self):

    self.svc.startService()
    self.fakeServer.result.errback(ZeroDivisionError())
    logged = self.flushLoggedErrors(ZeroDivisionError)
    self.assertEqual(len(logged), 1)
