コード例 #1
0
 public void TearDown()
 {
     this.navigationService        = null;
     this.pageDialogService        = null;
     this.pushManager              = null;
     this.pushManagerPageViewModel = null;
     this.notificationCategories.Clear();
 }
コード例 #2
0
        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));
        }