Esempio n. 1
0
        public void ReadConfigVariable_NoConfigFile_ThrowsException()
        {
            IStorage storage = new DiskStorage (NOTE_FOLDER_TEMP);

            storage.GetConfigVariable ("whatever");
        }
Esempio n. 2
0
        public void ReadConfigVariable_ConfigFileExists_ReturnsVariable()
        {
            IStorage storage = new DiskStorage (NOTE_FOLDER_PROPER_NOTES);

            Assert.AreEqual ("testval", storage.GetConfigVariable ("testvar"));
        }