Esempio n. 1
0
        public void Init()
        {
            var navService = new Mock <INavigationService>();
            var dbService  = new Mock <IDatabaseService>();

            _newMoodModel      = new MoodViewModel(nav: navService.Object, db: dbService.Object);
            _existingMoodModel = new MoodViewModel(existingModel: LogSamples.TestMood,
                                                   nav: navService.Object, db: dbService.Object);
        }
Esempio n. 2
0
 public void Cleanup()
 {
     _newMoodModel = _existingMoodModel = null;
 }