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",
        "grant_types_supported": ["pass_word_special_provider"]
    })
    self.assertIn("grant_types_supported", metadata.claims)
    self.assertEqual(metadata.claims["grant_types_supported"], ["pass_word_special_provider"])