Ejemplo n.º 1
0
        public VocabularyBrowserViewModelTests()
        {
            _screen = new VocabularyBrowserScreen()
                      .WithSelection(_word)
                      .MarkAsModified();
            var vocabulary = VocabularySet.Empty
                             .Add(_word)
                             .Add(_otherWord);

            _application = new WordTutorApplication(_screen)
                           .WithVocabularySet(vocabulary);
            _store = new FakeApplicationStore(_application);
            _model = new VocabularyBrowserViewModel(_store, _logger);
            _notifyPropertyChanged = new NotifyPropertyChangedProbe(_model);
            _store.ClearCapturedMessages();
        }
 public WordTutorApplicationTests()
 {
     _app = new WordTutorApplication(_fakeScreen);
 }
Ejemplo n.º 3
0
 public WordTutorApplication TheActionIs(WordTutorApplication application, IReduxMessage message)
 => Reducer.Reduce(message, application);