def METHOD_NAME(self):
    self.validator.client_authentication_required.return_value = False
    self.validator.authenticate_client_id.return_value = True
    for token_type in ('access_token', 'refresh_token', 'invalid'):
        body = urlencode([('token', 'foo'),
                          ('token_type_hint', token_type)])
        h, b, s = self.endpoint.create_introspect_response(self.uri,
                headers=self.headers, body=body)
        self.assertEqual(h, self.resp_h)
        self.assertEqual(loads(b), self.resp_b)
        self.assertEqual(s, 200)