'Test timeout for L{smtp.ESMTPSenderFactory}: the response L{Deferred}
should be errback with a L{smtp.SMTPTimeoutError}.'

def test_ESMTPClient(self):

    onDone = defer.Deferred()
    clientFactory = smtp.ESMTPSenderFactory('username', 'password', 'source@address', 'recipient@address', BytesIO('Message    body'), onDone, retries=0, timeout=0.5)
    return self._timeoutTest(onDone, clientFactory)
