public void GetUsersOrganization6Test()
        {
            OrganizationAPI.APICalls.OrganizationAPI externalAPI = new OrganizationAPI.APICalls.OrganizationAPI(_logger, _configuration);
            Task <List <User> > users = externalAPI.GetUsersAsync(5);

            users.Wait();

            Assert.IsTrue(users.Result.Count > 0);
        }
        public void GetPhonesTestOrg6UserFirst()
        {
            OrganizationAPI.APICalls.OrganizationAPI externalAPI = new OrganizationAPI.APICalls.OrganizationAPI(_logger, _configuration);

            int orgId = 6;
            Task <List <User> > users = externalAPI.GetUsersAsync(orgId);

            users.Wait();

            Assert.IsTrue(users.Result.Count > 0);
            int userId = users.Result[0].Id;

            Task <List <UserPhone> > userPhones = externalAPI.GetUserPhonesAsync(orgId, userId);

            userPhones.Wait();

            Assert.IsTrue(userPhones.Result.Count > 0);
        }