Inheritance: IUpdateService
Exemplo n.º 1
0
        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>();
        }
Exemplo n.º 2
0
        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>();
        }