private void ConfigureNoteBoxViewModel()
 {
     NoteItemProvider = A.Fake <INoteItemProvider>();
     A.CallTo(() => NoteItemProvider.GetItems(NoteGroups[0])).Returns(FirstGroupItems);
     A.CallTo(() => NoteItemProvider.GetItems(NoteGroups[1])).Returns(SecondGroupItems);
     A.CallTo(() => NoteItemProvider.GetItems(null)).Returns(new List <NoteItem>());
     NoteBoxViewModel = new NoteBoxViewModel();
 }
예제 #2
0
            private void ConfigureViewModel()
            {
                var itemsProvider = A.Fake <INoteItemProvider>();

                A.CallTo(() => itemsProvider.GetItems(null)).Returns(new List <NoteItem>());

                ViewModel = new NoteBoxViewModel();
            }