public void TearDown() { this.navigationService = null; this.pageDialogService = null; this.pushManager = null; this.pushManagerPageViewModel = null; this.notificationCategories.Clear(); }
public void Setup() { this.navigationService = new Mock <INavigationService>(); this.pageDialogService = new Mock <IPageDialogService>(); this.pushManager = new Mock <IPushManager>(); this.pushManagerPageViewModel = new PushManagerPageViewModel(this.navigationService.Object, this.pushManager.Object, this.pageDialogService.Object); // カテゴリ通知テスト用 this.notificationCategories.Add(new NotificationCategory("JapaneseFood", "和食", true)); this.notificationCategories.Add(new NotificationCategory("FrenchFood", "フレンチ", false)); this.notificationCategories.Add(new NotificationCategory("ChineseFood", "中華", false)); }