def METHOD_NAME(self):
    cmdcls = make_cmdcls(name='foo', aliases=('bar', 'baz'))
    self.assertEqual(cmdcls.names, ['foo', 'bar', 'baz'])
    cmdcls = make_cmdcls(name='foo')
    self.assertEqual(cmdcls.names, ['foo'])