'Render an XRDS document with a single type URI and a single endpoint URL
Parse it to see that it matches.'

def test_genericRender(self):

    request = dummyRequest()
    type_uris = ['A_TYPE']
    endpoint_url = 'A_URL'
    response = util.renderXRDS(request, type_uris, [endpoint_url])
    requested_url = 'http://requested.invalid/'
    (endpoint,) = applyFilter(requested_url, response.content)
    self.failUnlessEqual(YADIS_CONTENT_TYPE, response['Content-Type'])
    self.failUnlessEqual(type_uris, endpoint.type_uris)
    self.failUnlessEqual(endpoint_url, endpoint.uri)
