public void should_initialize_get_currentuser()
        {
            var client = new ZenDeskClient(_config);
            var user = client.GetCurrentUser();

            Assert.NotNull(user);
        }
 public void should_search_type_usercompany()
 {
     var client = new ZenDeskClient(_config);
     var result = client.GetSearchRecords("type:user [email protected]");
     Assert.NotNull(result);
 }
 public void should_initialize_get_users()
 {
     var client = new ZenDeskClient(_config);
     var users = client.GetUsers();
     Assert.True(users.Any());
 }
 public void should_initialize_get_user()
 {
     var client = new ZenDeskClient(_config);
     var user = client.GetUser("20168852");
     Assert.NotNull(user);
 }
 public void should_get_groups()
 {
     var client = new ZenDeskClient(_config);
     var result = client.GetGroups();
     Assert.NotNull(result);
 }
Пример #6
0
 public TicketsViewController()
     : base(new RootElement("Tickets"), true)
 {
     _client = new ZenDeskClient(AppDelegate.ZenConfig);
 }
 public void should_get_tickets()
 {
     var client = new ZenDeskClient(_config);
     var result = client.GetTicket("1");
     Assert.NotNull(result);
 }