public void AddRangeWithRecordsetCellsExpectedAddsRecordsetCells() { var record = new RecordsetRecord(); var cells = new[] { new RecordsetCell(), new RecordsetCell() }; record.AddRange(cells); Assert.AreEqual(2, record.Count); Assert.AreSame(cells[0], record[0]); Assert.AreSame(cells[1], record[1]); }
public void AddRangeWithNullExpectedThrowsArgumentNullException() { var record = new RecordsetRecord(); record.AddRange(null); }