public GridRowBuilderFactoryTests()
        {
            cellBuilderFactory = new Mock<IGridCellBuilderFactory>();
            decoratorsProvider = new Mock<IGridRowBuilderDecoratorProvider>();
            decoratorsProvider.Setup(p => p.ApplyDecorators(It.IsAny<IGridRowBuilder>(), It.IsAny<GridItem>(), It.IsAny<bool>()))
                .Returns((IGridRowBuilder b, GridItem item, bool hasDetailView) => b);

            factory = new GridRowBuilderFactory(new Mock<IGridTableBulderFactory>().Object, cellBuilderFactory.Object, decoratorsProvider.Object);
            renderingData = new GridRenderingData
            {
                Columns = new IGridColumn[0],
                Localization = new Mock<IGridLocalization>().Object,
                UrlBuilder = new Mock<IGridUrlBuilder>().Object,
                GroupMembers = new string[0],
                Callback = delegate { },
                EditFormHtmlAttributes = new Dictionary<string, object>(),
                Aggregates = new AggregateFunction[0]
            };
        }
        public GridRowBuilderFactoryTests()
        {
            cellBuilderFactory = new Mock <IGridCellBuilderFactory>();
            decoratorsProvider = new Mock <IGridRowBuilderDecoratorProvider>();
            decoratorsProvider.Setup(p => p.ApplyDecorators(It.IsAny <IGridRowBuilder>(), It.IsAny <GridItem>(), It.IsAny <bool>()))
            .Returns((IGridRowBuilder b, GridItem item, bool hasDetailView) => b);

            factory       = new GridRowBuilderFactory(new Mock <IGridTableBulderFactory>().Object, cellBuilderFactory.Object, decoratorsProvider.Object);
            renderingData = new GridRenderingData
            {
                Columns                = new IGridColumn[0],
                Localization           = new Mock <IGridLocalization>().Object,
                UrlBuilder             = new Mock <IGridUrlBuilder>().Object,
                GroupMembers           = new string[0],
                Callback               = delegate { },
                EditFormHtmlAttributes = new Dictionary <string, object>(),
                Aggregates             = new AggregateFunction[0]
            };
        }