public void AddTest()
        {
            //  arrange
            _collection = new FluentCollectionBase <int>();
            var number = _random.Next(100);

            //  act
            _collection.Add(number);

            //  assert
            _collection.Count().Should().Be(1);
            _collection.Single().Should().Be(number);
        }
        public void Result_count_should_be_same_as_matched_contacts_2()
        {
            //  arrange
            var matchingContacts = new FluentCollectionBase <Contact>(A.CollectionOfDummy <Contact>(_random.Next(100)));

            matchingContacts.ForEach(o => o.NumberOfRecommendations = _random.Next(100, 200));
            var contacts = new FluentCollectionBase <Contact>(A.CollectionOfDummy <Contact>(_random.Next(100))).AddRange(matchingContacts);

            _logic = new RankingByAdditionalOptionalConditionsMetLogic(
                new FluentCollectionBase <Func <Contact, bool> >()
                .Add(o => o.NumberOfRecommendations >= 100)
                .Add(o => o.NumberOfRecommendations <= 200),
                Enumerable.Empty <Func <Contact, bool> >());

            //  act
            var result = _logic.GetPotentialCustomers(contacts);

            //  assert
            result.Count().Should().Be(matchingContacts.Count());
        }