def METHOD_NAME(self):
    has_arg, option = getopt.long_has_args('abc', ['abc='])
    self.assertTrue(has_arg)
    self.assertEqual(option, 'abc')
    has_arg, option = getopt.long_has_args('abc', ['abc'])
    self.assertFalse(has_arg)
    self.assertEqual(option, 'abc')
    has_arg, option = getopt.long_has_args('abc', ['abcd'])
    self.assertFalse(has_arg)
    self.assertEqual(option, 'abcd')
    self.assertError(getopt.long_has_args, 'abc', ['def'])
    self.assertError(getopt.long_has_args, 'abc', [])
    self.assertError(getopt.long_has_args, 'abc', ['abcd','abcde'])