public void GetAccountPlaceRequestsByAccountIdTest()
        {
            // create a brand new user
            UserInfo user = CreateUserWithVerifiedEmailAddress();

            // create a new place that belongs to that user
            WebPlaceService.TransitPlace t_place = _place.GetTransitInstance();
            t_place.AccountId = user.id;
            t_place.Id        = EndPoint.CreateOrUpdatePlace(user.ticket, t_place);
            // the new user doesn't have any requests
            WebPlaceService.TransitAccountPlaceRequest[] requests_1 = EndPoint.GetAccountPlaceRequestsByAccountId(
                user.ticket, user.id, null);
            Console.WriteLine("Requests: {0}", requests_1.Length);
            Assert.AreEqual(0, requests_1.Length);
            // create a request
            WebPlaceService.TransitAccountPlaceRequest t_instance = GetTransitInstance();
            t_instance.PlaceId = t_place.Id;
            t_instance.Id      = Create(GetAdminTicket(), t_instance);
            // the new user is the owner of the place and now has a request
            WebPlaceService.TransitAccountPlaceRequest[] requests_2 = EndPoint.GetAccountPlaceRequestsByAccountId(
                user.ticket, user.id, null);
            Console.WriteLine("Requests: {0}", requests_2.Length);
            Assert.AreEqual(1, requests_2.Length);
            Assert.AreEqual(t_instance.Id, requests_2[0].Id);
            // delete place
            EndPoint.DeletePlace(user.ticket, t_place.Id);
            DeleteUser(user.id);
        }