public void ThenIShouldGetAllWorkheetNames() { List <string> actualSheetNames = ExcelInteropHelper.GetAllSheetNames(); var expectedSheetNames = new List <string>(); expectedSheetNames.AddRange(new[] { "Test1", "Test2", "IP (1) Process design or execut", "RiskRegisterWithScope" }); CollectionAssert.AreEquivalent(expectedSheetNames, actualSheetNames); }