Beispiel #1
0
        private void DeleteCounterExample()
        {
            Console.WriteLine(string.Format("\nCalling DeleteCounterExample({0}, {1})...", _createdWorkspaceId, _createdCounterExampleText));
            var result = _conversation.DeleteCounterexample(_createdWorkspaceId, _createdCounterExampleText);

            if (result != null)
            {
                Console.WriteLine(string.Format("Deleted counterExample {0}.", _createdCounterExampleText));
            }
            else
            {
                Console.WriteLine("Result is null.");
            }
        }
Beispiel #2
0
        public void DeleteCounterExample_Success()
        {
            Console.WriteLine(string.Format("\nCalling DeleteCounterExample({0}, {1})...", _createdWorkspaceId, _createdCounterExampleText));
            var result = conversation.DeleteCounterexample(_createdWorkspaceId, _createdCounterExampleText);

            Assert.IsNotNull(result);

            if (result != null)
            {
                Console.WriteLine(string.Format("Deleted counterExample {0}.", _createdCounterExampleText));
            }
            else
            {
                Console.WriteLine("Result is null.");
            }
        }