public void InitializeRepository() { Context = new WebNoteMock(); Context.Notes = new MockObjectSet<Note>(CreateNotesList()); Repository = new WebNoteRepository { Context = Context }; }
public void InitializeRepository() { Context = new WebNoteMock(); Context.Notes = new MockObjectSet <Note>(CreateNotesList()); Repository = new WebNoteRepository { Context = Context }; }
public void CleanupRepository() { Context = null; Repository = null; }