public void DeletePeriod() { Period toDelete = repo.GetUniq(p => p.Title == "Remaining"); Assert.IsNotNull(repo.GetUniq(p => p.Title == "Remaining")); repo.Delete(toDelete); repo.Save(); Assert.IsNull(repo.GetUniq(p => p.Title == "Remaining")); Assert.IsNull(ctx.PricePerPersonSet.FirstOrDefault(p => p.Title == "Prix adulte room1 reste de l'année")); }