def METHOD_NAME(self, resource_group):
    sname = self.create_random_name(prefix='cs_cli_test_', length=16)
    self.kwargs.update({
        'sname': sname,
        'kind': 'FormRecognizer',
        'sku': 'S0',
        'location': 'SOUTHCENTRALUS',
        'encryption': '{\\\"keySource\\\":\\\"Microsoft.CognitiveServices\\\"}'
    })
    # test to create cognitive services account
    self.cmd('az cognitiveservices account create -n {sname} -g {rg} --kind {kind} --sku {sku} -l {location} '
             '--assign-identity --encryption {encryption}  --yes',
             checks=[self.check('name', '{sname}'),
                     self.check('location', '{location}'),
                     self.check('sku.name', '{sku}')])
    account = self.cmd('az cognitiveservices account show -n {sname} -g {rg}').get_output_in_json()
    self.assertEqual(account['identity']['type'], 'SystemAssigned')
    self.assertTrue(account['properties']['encryption'] is not None)
    self.assertEqual(account['properties']['encryption']['keySource'], 'Microsoft.CognitiveServices')
    # delete the cognitive services account
    ret = self.cmd('az cognitiveservices account delete -n {sname} -g {rg}')
    self.assertEqual(ret.exit_code, 0)
    self.kwargs.update({
        'sname': self.create_random_name(prefix='cs_cli_test_', length=16)
    })
    # test to create cognitive services account
    self.cmd('az cognitiveservices account create -n {sname} -g {rg} --kind {kind} --sku {sku} -l {location} '
             '--assign-identity --yes',
             checks=[self.check('name', '{sname}'),
                     self.check('location', '{location}'),
                     self.check('sku.name', '{sku}'),
                     self.check('properties.provisioningState', 'Succeeded')])
    self.cmd('az cognitiveservices account update -n {sname} -g {rg} --encryption {encryption}')
    account = self.cmd('az cognitiveservices account show -n {sname} -g {rg}').get_output_in_json()
    self.assertEqual(account['identity']['type'], 'SystemAssigned')
    self.assertTrue(account['properties']['encryption'] is not None)
    self.assertEqual(account['properties']['encryption']['keySource'], 'Microsoft.CognitiveServices')
    # delete the cognitive services account
    ret = self.cmd('az cognitiveservices account delete -n {sname} -g {rg}')
    self.assertEqual(ret.exit_code, 0)