'Assert that when the given bytes are delivered to the ESMTP server
instance, it responds with the indicated lines.
@type bytes: str
@type response: list of str'

def assertServerResponse(self, bytes, response):

    self.transport.clear()
    self.server.dataReceived(bytes)
    self.assertEqual(response, self.transport.value().splitlines())
