def METHOD_NAME(self):
    endpoint = TokenEndpoint(None, None, grant_types={"password": None})
    metadata = MetadataEndpoint([endpoint], {
        "issuer": 'https://foo.bar',
        "token_endpoint": "https://foo.bar/token"
    })
    headers, body, status = metadata.create_metadata_response('/', 'GET')
    assert headers == {
        'Content-Type': 'application/json',
        'Access-Control-Allow-Origin': '*',
    }
    claims = json.loads(body)
    assert claims['issuer'] == 'https://foo.bar'