public void CleanCsv_CallsTwoMethodsInCsvService() { // Arrange var enrollmentRows = fixture.Create <List <string> >();// Act // Act _sut.CleanCsv(enrollmentRows); // Assert _csvServiceMock.Verify(s => s.RemoveHeaderRow(It.Is <List <string> >(x => x == enrollmentRows)), Times.Once); _csvServiceMock.Verify(s => s.RemoveEmptyRows(It.Is <List <string> >(x => x == enrollmentRows)), Times.Once); }