def METHOD_NAME(self, resource_group, spring):
    self.kwargs.update({
        'serviceName': spring,
        'rg': resource_group
    })
    self.cmd('spring dev-tool create -g {rg} -s {serviceName} --assign-endpoint', checks=[
        self.check('properties.public', True),
        self.check('properties.provisioningState', "Succeeded")
    ])
    self.cmd('spring application-accelerator create -g {rg} -s {serviceName}', 
    checks=[
        self.check('properties.provisioningState', "Succeeded")
    ])
    self.cmd('spring dev-tool show -g {rg} -s {serviceName}', checks=[
        self.check('properties.features.applicationAccelerator.state', 'Enabled')
    ])
    self.cmd('spring application-accelerator show -g {rg} -s {serviceName}', 
    checks=[
        self.check('properties.provisioningState', "Succeeded")
    ])
    self.cmd('spring application-accelerator delete --yes -g {rg} -s {serviceName}')
    self.cmd('spring dev-tool show -g {rg} -s {serviceName}', checks=[
        self.check('properties.features.applicationAccelerator.state', 'Disabled')
    ])