def METHOD_NAME(self):
    self.given_metadata(
        {'apiVersion': '2015-01-01', 'endpointPrefix': 'foo'}
    )
    self.assert_filename_is('botocore/data/aws/foo/2015-01-01.normal.json')
    self.given_metadata(
        {
            'apiVersion': '2015-01-01',
            'endpointPrefix': 'foo',
            'serviceAbbreviation': 'Amazon Bar',
        }
    )
    self.assert_filename_is('botocore/data/aws/bar/2015-01-01.normal.json')
    self.given_metadata(
        {
            'apiVersion': '2015-01-01',
            'endpointPrefix': 'foo',
            'serviceAbbreviation': 'AWS Baz',
        }
    )
    self.assert_filename_is('botocore/data/aws/baz/2015-01-01.normal.json')
    self.given_metadata(
        {
            'apiVersion': '2015-01-01',
            'endpointPrefix': 'foo',
            'serviceAbbreviation': 'something else',
        }
    )
    self.assert_filename_is(
        'botocore/data/aws/somethingelse/2015-01-01.normal.json'
    )
    # The special casing of elasticloadbalancing -> elb.
    self.given_metadata(
        {
            'apiVersion': '2015-01-01',
            'endpointPrefix': 'elasticloadbalancing',
        }
    ),
    self.assert_filename_is('botocore/data/aws/elb/2015-01-01.normal.json')