public void InvalidFileExceptionWorking() { Assert.ThrowsException <System.IO.FileNotFoundException>(() => { SimpleCsvImporter simpleCsvImporter = new SimpleCsvImporter(invalidTestPath); simpleCsvImporter.Load(); }); }
public void NamedConstructorSavesName() { SimpleCsvImporter simpleCsvImporter = new SimpleCsvImporter(invalidTestPath); Assert.IsTrue(simpleCsvImporter.filePath == invalidTestPath); }
public void TestConstructor() { SimpleCsvImporter simpleCsvImporter = new SimpleCsvImporter(invalidTestPath); Assert.IsTrue(simpleCsvImporter != null); }