public void CanInsertBeverageIntoCooler()
        {
            Cooler cooler = new Cooler
            {
                Id = Guid.NewGuid(),
                Name = "Test Cooler",
                MaxCapacity = 5f
            };

            Beverage beverage = new Beverage
            {
                Id = Guid.NewGuid(),
                Name = "Test Bev",
                Size = 5f
            };

            cooler.Beverages.Add(beverage);
            this.Manager.AddCooler(cooler);
        }
        public void WillThrowErrorOnExceededCoolerLimit()
        {
            Cooler cooler = new Cooler
            {
                Id = Guid.NewGuid(),
                Name = "Test Cooler",
                MaxCapacity = 5f
            };

            Beverage beverage = new Beverage
            {
                Id = Guid.NewGuid(),
                Name = "Test Bev",
                Size = 50f
            };

            cooler.Beverages.Add(beverage);
            this.Manager.AddCooler(cooler);

            Assert.Fail("Expected an ApplicationValidationErrorsException");
        }
        public void WillThrowErrorOnInvalidBeverageInsert()
        {
            Cooler cooler = new Cooler
            {
                Id = Guid.NewGuid(),
                Name = "Test Cooler",
                MaxCapacity = 5f,
                Sealed = true,
                Iced = false
            };

            Beverage beverage = new Beverage
            {
                Id = Guid.NewGuid(),
                Name = "Test Bev",
                Size = 50f,
                NeedsIced = true
            };

            cooler.Beverages.Add(beverage);
            this.Manager.AddCooler(cooler);

            Assert.Fail("Expected an ApplicationValidationErrorsException");
        }