public void Test_RegisterIfNeeded_MealNotNeeded()
        {
            var settings = EngineSettings.DefaultVerbose;

            var person = new Person (settings);

            var waterNeed = new EatFoodNeedIdentifier (settings, new ConsoleHelper(settings));

            waterNeed.RegisterIfNeeded (person);

            Assert.AreEqual (0, person.Needs.Count);
        }
        public void Test_RegisterIfNeeded_MealIsNeeded()
        {
            var settings = EngineSettings.DefaultVerbose;

            var person = new Person (settings);
            person.Vitals[PersonVitalType.Hunger] = 80;

            var mealNeed = new EatFoodNeedIdentifier (settings, new ConsoleHelper(settings));

            mealNeed.RegisterIfNeeded (person);

            Assert.AreEqual (1, person.Needs.Count);

            var need = person.Needs [0];

            Assert.AreEqual (ActivityVerb.Eat, need.ActionType);
            Assert.AreEqual (ItemType.Food, need.ItemType);
            Assert.AreEqual (settings.DefaultEatAmount, need.Quantity);
            Assert.AreEqual (settings.DefaultItemPriorities[ItemType.Food], need.Priority);
        }