def METHOD_NAME(self):
    args = self.prefix + (
        '--group-name foobar --protocol tcp --port 22-25 --cidr 0.0.0.0/0')
    result = {'GroupName': 'foobar',
              'IpPermissions': [{'FromPort': 22, 'IpProtocol': 'tcp',
                                  'IpRanges': [{'CidrIp': '0.0.0.0/0'}],
                                  'ToPort': 25}]}
    self.assert_params_for_cmd(args, result)