public void BeforeTests() { _entryHelper = MockRepository.GenerateMock<IEntryHelper>(); _repliesHelper = MockRepository.GenerateMock<IRepliesHelper>(); // Replace with mocks. _eph = new EntryPageHelper(_entryHelper, _repliesHelper); }
public EntryPageHelper(IEntryHelper entryHelper, IRepliesHelper repliesHelper) { _entryHelper = entryHelper; _repliesHelper = repliesHelper; }
public EntriesController(DBContext context, IEntryHelper entryHelper) { _context = context; _entryHelper = entryHelper; }