def METHOD_NAME(self):
    argspecs = ({'names': ('ARG1',), 'description': 'First arg'},
                {'names': ('ARG2',), 'description': 'Second arg'})
    cmdcls = make_cmdcls(argspecs=argspecs)
    self.assertTrue(hasattr(cmdcls, '_argparser'))
    kwargs = vars(cmdcls._argparser.parse_args(['foo', 'bar']))
    self.assertEqual(kwargs, {'ARG1': 'foo', 'ARG2': 'bar'})
    with self.assertRaises(CmdArgError):
        cmdcls._argparser.parse_args(['foo', 'bar', 'baz'])