public NotesController(INotesStorage iNotesStorage) { _iNotesStorage = iNotesStorage; NotesStorage notesStorage = new NotesStorage(); notesStorage.OpenNotes("Storage/Notes.json"); }
public void OpenNotes_NonExistingFile_CreatedFile() { File.Delete(fileName); notesStorage.OpenNotes(fileName); Assert.AreEqual(true, File.Exists(fileName)); }