Beispiel #1
0
        public void Push_three_messages_to_a_chat()
        {
            var pushClient = new PushClient(_apiToken);
            var tasks      = new List <Task>();

            for (var i = 0; i < 3; i++)
            {
                pushClient.PushToChatAsync("Hello from integration test #" + i, "int_test");
            }

            Task.WaitAll(tasks.ToArray());
        }
        public void Push_three_messages_to_a_chat()
        {
            var pushClient = new PushClient(_apiToken);
            var tasks = new List<Task>();

            for (var i = 0; i < 3; i++)
            {
                pushClient.PushToChatAsync("Hello from integration test #" + i, "int_test");
            }

            Task.WaitAll(tasks.ToArray());
        }