Exemple #1
0
        public void Transform__Should_Insert_An_Empty_Cell(
            IList <string> input,
            int targetColumnIndex)
        {
            var expectedRow = input.ToArray();

            var target = new ColumnInserter(cellInserter.Object, targetColumnIndex, "unique");

            target.Transform(expectedRow);

            Verify_CellInsertion(expectedRow, targetColumnIndex, null);
        }
Exemple #2
0
        public void Transform__Should_UseThe_CellInserter_ToInsertABrandNewCell_IntoARow(
            IList <string> input,
            int targetColumnIndex)
        {
            var expectedRow = input.ToArray();

            var target = new ColumnInserter(cellInserter.Object, targetColumnIndex, "unique");

            target.Transform(expectedRow);

            Verify_AShinyBrandNewCellIsInserted(expectedRow, targetColumnIndex);
        }