public void GetFiltedRowsIndexesTest() { // Arrange var links = new List <string> { "www.Infotrack.com", "www.google.com", "Infotrack.net" }; var searchterm = "Infotrack"; var expected = new List <int> { 1, 3 }; // Act var output = subject.GetFiltedRowsIndexes(links, searchterm); // Assert output.ShouldNotBeNull(); output.Count.ShouldBeGreaterThan(0); output.ShouldBe(expected); }