public void ClearNotes_Functional()
        {
            string testText = "Test text";

            VM.Notes.Content = testText;
            Assert.AreEqual(testText, VM.Notes.Content);

            VM.ClearNotes();
            Assert.AreEqual(VM.Notes.Content, string.Empty);

            jsonStorageControllerMock.Verify(jsonStorageController => jsonStorageController.SaveList(It.IsAny <List <NotesModel> >()), Times.Exactly(2));
        }
 private void BtnClear_Click(object sender, RoutedEventArgs e)
 {
     VM.ClearNotes();
 }