public void ControlCheckBoxes_NoChoiceMade()
        {
            var errorMessage = string.Empty;
            var user = new User
            {
                Choices = new List<Choice>()
            };

            var service = new ValidationService();
            var result = service.ControlCheckBoxes(user, out errorMessage);

            Assert.IsFalse(result);
            Assert.AreEqual("Merci de cocher au moins une case !", errorMessage);
        }
        public void ControlCheckBoxes_IMadeChoices()
        {
            var errorMessage = string.Empty;
            var user = new User
            {
                AvailableSeats = 2,
                Choices = new List<Choice>
                {
                    new Choice { Place = new Place { Label = "Carrefour"} },
                    new Choice { Place = new Place { Label = "Quick"} },
                    new Choice { Place = new Place { Label = "Autre"} },
                }
            };

            var service = new ValidationService();
            var result = service.ControlCheckBoxes(user, out errorMessage);

            Assert.IsTrue(result);
            Assert.IsTrue(string.IsNullOrEmpty(errorMessage));
        }