public void DeleteTestCase()
        {
            string projectName = ClientSampleHelpers.FindAnyProject(this.Context).Name;
            int    testCaseId  = this._getTestCaseId();

            // Get a testplan client instance
            VssConnection      connection     = Context.Connection;
            TestPlanHttpClient testPlanClient = connection.GetClient <TestPlanHttpClient>();

            //Delete a test case
            testPlanClient.DeleteTestCaseAsync(projectName, testCaseId).SyncResult();
        }