public void M_WillPopulateActualBankRecordCells() { // Arrange var actual_bank_record = new ActualBankRecord { Date = new DateTime(year: 2017, month: 4, day: 19), Type = "Chq", Description = "Acme: Esmerelda's birthday", Amount = 1234.56 }; var row = 10; var mock_cells = new Mock <ICellSet>(); // Act actual_bank_record.Populate_spreadsheet_row(mock_cells.Object, row); // Assert mock_cells.Verify(x => x.Populate_cell(row, ActualBankRecord.DateSpreadsheetIndex + 1, actual_bank_record.Date), "Date"); mock_cells.Verify(x => x.Populate_cell(row, ActualBankRecord.AmountSpreadsheetIndex + 1, actual_bank_record.Main_amount()), "Amount"); mock_cells.Verify(x => x.Populate_cell(row, ActualBankRecord.TypeSpreadsheetIndex + 1, actual_bank_record.Type), "Type"); mock_cells.Verify(x => x.Populate_cell(row, ActualBankRecord.DescriptionSpreadsheetIndex + 1, actual_bank_record.Description), "Desc"); }