public void InitializeRepository()
        {
            Context = new WebNoteMock();
            Context.Notes = new MockObjectSet<Note>(CreateNotesList());

            Repository = new WebNoteRepository { Context = Context };
        }
Exemple #2
0
        public void InitializeRepository()
        {
            Context       = new WebNoteMock();
            Context.Notes = new MockObjectSet <Note>(CreateNotesList());

            Repository = new WebNoteRepository {
                Context = Context
            };
        }
Exemple #3
0
 public void CleanupRepository()
 {
     Context    = null;
     Repository = null;
 }
 public void CleanupRepository()
 {
     Context = null;
     Repository = null;
 }