Ejemplo n.º 1
0
        public async Task TestTestListCalls()
        {
            // Parameters for the API call
            int?   page        = null;
            int?   pageSize    = null;
            string to          = null;
            string mfrom       = null;
            string dateCreated = null;

            // Perform API call
            string result = null;

            try
            {
                result = await controller.CreateListCallsAsync(page, pageSize, to, mfrom, dateCreated);
            }
            catch (APIException) {};

            // Test response code
            Assert.AreEqual(200, httpCallBackHandler.Response.StatusCode,
                            "Status should be 200");
        }