public void ReadConfigVariable_NoConfigFile_ThrowsException() { IStorage storage = new DiskStorage (NOTE_FOLDER_TEMP); storage.GetConfigVariable ("whatever"); }
public void ReadConfigVariable_ConfigFileExists_ReturnsVariable() { IStorage storage = new DiskStorage (NOTE_FOLDER_PROPER_NOTES); Assert.AreEqual ("testval", storage.GetConfigVariable ("testvar")); }