public void PomodoroFileStorage_NoFileNameSuppliedAndFileDoesntExist_CreatesFile()
        {
            var fileSystem = new MockFileSystem(new Dictionary<string, MockFileData>()

            );
            PomodoroFileStorage fs = new PomodoroFileStorage(fileSystem);

            Assert.AreEqual(fileSystem.AllFiles.Count(), 1);
        }
        public void PomodoroFileStorage_PomodoroComplete_IncrementsPomodoroCountTo1()
        {
            var fileSystem = new MockFileSystem(new Dictionary<string, MockFileData>()

            );
            PomodoroFileStorage fs = new PomodoroFileStorage( fileSystem);
            fs.RecordSuccessfulPomodoro();

            Assert.AreEqual( 1, fs.PomodorosToday);
        }
        public void PomodoroFileStorage_NoFileNameSuppliedButFileExists_LoadsFileReports1Pomodoro()
        {
            string fileName = System.IO.Path.Combine(Constants.DEFAULT_FILE_STORAGE_DIRECTORY, Constants.DEFAULT_FILE_STORAGE_FILENAME);
            var fileSystem =  new MockFileSystem(new Dictionary<string, MockFileData>
                    {
                        { fileName, new MockFileData(string.Format("{0:yyyyMMdd}, 1", DateTime.Now.Date)) }
                    }
            );
            PomodoroFileStorage fs = new PomodoroFileStorage(fileSystem);

            Assert.AreEqual(fs.PomodorosToday, 1);
        }