def METHOD_NAME(self, resource_group):
    app_name = 'helloWorldApp'
    self.kwargs.update({
        'resource_group': resource_group,
        'deployment_name': self.create_random_name(prefix='cli', length=24),
        'app_name': app_name,
        'service_name': 'helloWorldService',
        'replica_name': 0,
        'template_location': _get_test_data_file('template1.json')
    })
    self.cmd('az mesh deployment create -g {rg} --template-file {template_location} --name {deployment_name}')
    app_list = self.cmd('az mesh app list --resource-group {rg}', checks=[
        self.check('[0].name', app_name)
    ]).get_output_in_json()
    assert len(app_list) == 1
    # Test list
    service_list = self.cmd('az mesh service-replica list --resource-group {rg} --app-name {app_name} --service-name {service_name}',).get_output_in_json()
    assert len(service_list) == 1
    # Test show
    self.cmd('az mesh service-replica show --resource-group {rg} --app-name {app_name} --service-name {service_name} --replica-name {replica_name}', checks=[
        self.exists('codePackages'),
        self.exists('networkRefs'),
        self.exists('osType'),
        self.exists('replicaName'),
    ])
    self.cmd('az mesh app delete -g {rg} --name {app_name} --yes')