public async void _ClientV1_SupportsAllOperationsOnFulfillmentLocation()
        {
            // CreateFulfillmentLocation
            var fulfillmentLocation = await _client.CreateFulfillmentLocation(_locationConfiguration);

            var createdFulfillmentLocationId = fulfillmentLocation.FulfillmentLocationId;

            // GetFulfillmentLocation
            fulfillmentLocation = await _client.GetFulfillmentLocation(createdFulfillmentLocationId);

            Console.WriteLine("Posted test location:\n {0}", fulfillmentLocation.ToString());

            // UpdateFulfillmentLocation
            fulfillmentLocation = await _client.UpdateFulfillmentLocation(createdFulfillmentLocationId, _locationConfiguration);

            Console.WriteLine("Updated test location:\n {0}", fulfillmentLocation.ToString());

            // DeleteFulfillmentLocation
            await _client.DeleteFulfillmentLocation(createdFulfillmentLocationId);
        }
 public async void DeleteFulfillmentLocation_ThrowsCorrectExceptionOnNotFound(FulfillmentLocationClient client)
 {
     await Assert.ThrowsAsync <LocationNotFoundException>(async() => {
         await client.GetFulfillmentLocation(String.Empty);
     });
 }
 public async void GetFulfillmentLocation_ThrowsCorrectExceptionOnForbidden(FulfillmentLocationClient client)
 {
     await Assert.ThrowsAsync <AccessForbiddenException>(async() => {
         await client.GetFulfillmentLocation(String.Empty);
     });
 }
 public async void GetFulfillmentLocation_ThrowsCorrectExceptionOnOtherError(FulfillmentLocationClient client)
 {
     await Assert.ThrowsAsync <CommunicationFailureException>(async() => {
         await client.GetFulfillmentLocation(String.Empty);
     });
 }
        public async void GetFulfillmentLocation_ReturnsFulfillmentLocationByInternalFulfillmentLocationId(FulfillmentLocationClient client)
        {
            var fulfillmentLocation = await client.GetFulfillmentLocation(_fulfillmentLocations.ElementAt(0).InternalFulfillmentLocationId);

            Assert.Equal(_fulfillmentLocations.ElementAt(0), fulfillmentLocation);
        }