private ApiResponse WhenTryUpdateAuthorisedUntil(ApiBusinessSetAuthorisedUntilCommand command, SetupData setup)
        {
            var url      = string.Format("Businesses/{0}", setup.Business.Id);
            var json     = JsonSerialiser.Serialise(command);
            var response = AdminPost(json, url);

            setup.Business.AuthorisedUntil = command.authorisedUntil;
            return(response);
        }
        private void SetBusinessAsExpired(SetupData setup)
        {
            var command = new ApiBusinessSetAuthorisedUntilCommand {
                authorisedUntil = DateTime.UtcNow.AddMonths(-1)
            };
            var url  = string.Format("Businesses/{0}", setup.Business.Id);
            var json = JsonSerialiser.Serialise(command);

            AdminPost(json, url);
        }