def METHOD_NAME():
    apigateway_client = boto3.client('apigateway')
    api_gtos = ApiGatewayToService(apigateway_client)
    api_gtos.api_id = 'test-api-id'
    api_gtos.stage = 'test'
    url = (f'https://{api_gtos.api_id}.execute-api.{apigateway_client.meta.region_name}'
           f'.amazonaws.com/{api_gtos.stage}')
    assert api_gtos.api_url('thing') == f'{url}/thing'