public void SaveWithStaticFileName_GivenJSONServiceTitleAndText_WhenOverridingOldFile_ThenCreatedTimeShouldStayTheSame()
        {
            //Arrange
            NoteKeeperOperator noteKeeperOperator = new NoteKeeperOperator(new JSONStorageService(), PATH);

            noteKeeperOperator.SaveWithStaticFileName("Titel", "Foo");
            long expectedDateTime = noteKeeperOperator.Note.Created.ToFileTime();

            //Act
            noteKeeperOperator.SaveWithStaticFileName("Titel", "Foo");
            long actualDateTime = noteKeeperOperator.Note.Created.ToFileTime();

            //Assert
            Assert.Equal(expectedDateTime, actualDateTime);
        }
        public void SaveWithStaticFileName_GivenJSONServiceTitleAndText_WhenOverridingOldFile_ThenLastEditedTimeShouldBeGreaterThanCreatedTime()
        {
            //Arrange
            NoteKeeperOperator noteKeeperOperator = new NoteKeeperOperator(new JSONStorageService(), PATH);

            noteKeeperOperator.SaveWithStaticFileName("Titel", "Foo");
            long createdFileTime = noteKeeperOperator.Note.Created.ToFileTime();

            noteKeeperOperator.OpenLastSavedNote();
            //Act
            noteKeeperOperator.SaveWithStaticFileName("Titel", "Foo");
            long lastEditedFileTime = noteKeeperOperator.Note.LastEdited.ToFileTime();

            //Assert
            Assert.True(lastEditedFileTime > createdFileTime);
        }