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

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

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