public void UpdateVenue_IfVenueDoesNotExist_Exception404()
        {
            var venueId     = configuration["Venue:TestVenueIdNotExisting"];
            var sourceVenue = new Venue.Models.Venue {
                InternalId = venueId
            };

            try
            {
                service.GetVenueById(venueId);
                Assert.Fail("Venue actually exists");
            }
            catch (Exception)
            {
                // ignore
            }

            var exception = Assert.Catch <ApiException>(() =>
            {
                var updatedVenue = service.UpdateVenueById(sourceVenue);
            });

            AssertApiException(exception, HttpStatusCode.NotFound);
        }
 private void AssertVenueHasDetails(Venue.Models.Venue venue)
 {
     Assert.False(string.IsNullOrEmpty(venue.Title));
     Assert.False(string.IsNullOrEmpty(venue.InternalId));
     Assert.False(string.IsNullOrEmpty(venue.CompositeId));
 }