public void OnNavigatedFrom_With_No_RestorableStateAttributes() { var vm = new MockViewModelWithNoRestorableStateAttributes() { Title = "MyMock", Description = "MyDescription", }; var result = new Dictionary <string, object>(); vm.OnNavigatedFrom(result, true); Assert.IsTrue(result.Keys.Count == 0); }