def METHOD_NAME(self):
    container = mock.Mock()
    container.argument_model.name = 'bag'
    kwargs = {
        'container': container,
        'prop': 'ArgumentBar'
    }
    kwargs['container'].py_name = 'bag'
    kwargs['container'].cli_type_name = 'list'
    kwargs.update(FLATTEN_CONFIG['command-name']['original-argument']
                                ['flatten']['ArgumentBar'])
    arg = FlattenedArgument(**kwargs)
    self.assertEqual('bar', arg.name)
    self.assertEqual('Some help text', arg.documentation)
    self.assertEqual(True, arg.required)
    params = {}
    arg.add_to_params(params, 'value')
    self.assertEqual('VALUE', params['bag'][0]['ArgumentBar'])