public void TestGetWorkBook() { string dataFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "file", "data.xlsx"); NPOIOperator oper = new NPOIOperator(dataFilePath, true); var book = oper.GetWorkBook(); Assert.IsNotNull(book); }