public async Task GivenAnIncompleteOrderExists() { var context = (OrderingDbContext)Context[ContextKeys.DbContext]; var user = (User)Context[ContextKeys.User]; var description = RandomInformation.RandomInformationText(); if (description.Length > 100) { description = description.Substring(0, 100); } var createModel = new CreateOrderModel { Description = description, OrganisationId = user.PrimaryOrganisationId }; var order = await OrderHelpers.CreateOrderAsync(createModel, context, user, Test.IsapiConnectionString); Context.Add(ContextKeys.CreatedOrder, order); }