public void ConvertTest() { var converter = new EnumerableConverter(); var typeConverterOptions = new TypeConverterOptions { CultureInfo = CultureInfo.CurrentCulture }; try { converter.ConvertFromExcel(typeConverterOptions, ""); Assert.Fail(); } catch (ExcelTypeConverterException) { } try { converter.ConvertToExcel(typeConverterOptions, 5); Assert.Fail(); } catch (ExcelTypeConverterException) { } }