public void GetPhonesTestOrg1User1()
        {
            OrganizationAPI.APICalls.OrganizationAPI externalAPI = new OrganizationAPI.APICalls.OrganizationAPI(_logger, _configuration);
            Task <List <UserPhone> > userPhones = externalAPI.GetUserPhonesAsync(1, 1);

            userPhones.Wait();

            Assert.IsTrue(userPhones.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);
        }