'We pick up options that are only defined by having an
appropriately named method on your Options class,
e.g. def opt_foo(self, foo)'

def test_accumulateAdditionalOptions(self):

    opts = FighterAceExtendedOptions()
    ag = _shellcomp.ZshArgumentsGenerator(opts, 'ace', 'dummy_value')
    self.assertIn('nocrash', ag.flagNameToDefinition)
    self.assertIn('nocrash', ag.allOptionsNameToDefinition)
    self.assertIn('difficulty', ag.paramNameToDefinition)
    self.assertIn('difficulty', ag.allOptionsNameToDefinition)
