public void GetBobsReturnsBirthingUnitMembersNamedBob()
        {
            SeedRandomNumberGeneratorUsedForGeneratingDateOfBirth(35);
            _birthingUnit.AddPeople(7);
            SeedRandomNumberGeneratorUsedForGeneratingDateOfBirth(25);
            var birthingUnitMembers = _birthingUnit.AddPeople(3);
            var birthingUnitMembersNamedBobYoungerThanThirty = _birthingUnit.GetBobs(false);

            Assert.True(birthingUnitMembers.Count == 10);
            Assert.True(birthingUnitMembersNamedBobYoungerThanThirty.Count() == 10);
        }
        public void TestIsGetBobOlderThen30()
        {
            BirthingUnit birthingUnit = new BirthingUnit();
            var people = birthingUnit.GetPeople(5);
            var bobMan = birthingUnit.GetBobs(true);
            bool isBobOlderThen30 = true;
            foreach (People bob in bobMan)
            {
                int age = DateTime.Now.Year - bob.DOB.Year;
                if (age < 30)
                { isBobOlderThen30 = false; }
            }

            Assert.True(isBobOlderThen30);

        }