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

            for (var i = 0; i < 3; i++)
            {
                pushClient.PushToTeamAsync("PushClientTest", "*****@*****.**", "Tester", "Test from integration test. #" + i);
            }

            Task.WaitAll(tasks.ToArray());
        }
 public void Push_three_messages_to_a_team_room()
 {
     var pushClient = new PushClient(_apiToken);
     var tasks = new List<Task>();
     
     for (var i = 0; i < 3; i++)
     {
         pushClient.PushToTeamAsync("PushClientTest", "*****@*****.**", "Tester", "Test from integration test. #" + i);
     }
     
     Task.WaitAll(tasks.ToArray());
 }