public void GetQueryParameters()
        {
            // Assign
            QueryParameterConfigFactory queryParameterFactory = new QueryParameterConfigFactory();

            queryParameterFactory.Finalise();


            // Act
            var result = queryParameterFactory.GetItems();

            // Assert
            Assert.AreEqual(5, result.Count());
        }
        public void GetDataMappers()
        {
            // Assign
            QueryParameterConfigFactory queryParameterFactory = new QueryParameterConfigFactory();
            DataMapperConfigFactory     configFactory         = new DataMapperConfigFactory(queryParameterFactory);

            configFactory.Finalise();
            queryParameterFactory.Finalise();

            // Act
            var result = configFactory.GetItems();

            // Assert
            Assert.AreEqual(42, result.Count());
        }
        public void GetDataMappers()
        {
            // Assign
            IConfigFactory <ISitecoreQueryParameter> queryParameterFactory = new QueryParameterConfigFactory();
            IConfigFactory <AbstractDataMapper>      configFactory         = new DataMapperConfigFactory(queryParameterFactory);

            configFactory.Finalise();
            queryParameterFactory.Finalise();

            // Act
            var result = configFactory.GetItems();

            // Assert
            Assert.AreEqual(42, result.Count());
        }