public void Setup() { this.moqer = new AutoMoq.AutoMoqer(); this.mockUpdateRepository = this.moqer.GetMock<IUpdateRepository>(); this.mockRssChannelRepository = this.moqer.GetMock<IRssChannelsRepository>(); this.sut = this.moqer.Resolve<UpdateService>(); }
public void Setup() { this.moqer = new AutoMoq.AutoMoqer(); this.mockUpdateRepository = this.moqer.GetMock<IUpdateRepository>(); this.mockRssChannelRepository = this.moqer.GetMock<IRssChannelsRepository>(); this.mockSyndicationFeedAdapter = this.moqer.GetMock<ISyndicationFeedAdapter>(); this.mockRssEntriesRepository = this.moqer.GetMock<IRssEntriesRepository>(); this.mockMapper = this.moqer.GetMock<IMapper>(); this.mockChannelsUpdateRepository = this.moqer.GetMock<IRssChannelUpdateRepository>(); this.sut = this.moqer.Resolve<UpdateService>(); }