public OpmlImporterController( IUserAuthentication authentication, ILoginService loginService, IOpmlImporterService opmlImporterService) : base(authentication, loginService) { this.opmlImporterService = opmlImporterService; }
public OpmlImporterController( IUserAuthentication authentication, ILoginService loginService, ISessionProvider sessionProvider, IOpmlImporterService opmlImporterService) : base(authentication, loginService, sessionProvider) { this.opmlImporterService = opmlImporterService; }
public void Setup() { this.moqer = new AutoMoq.AutoMoqer(); this.sut = this.moqer.Resolve<OpmlImporterService>(); this.mockOpmlReader = this.moqer.GetMock<IOpmlReader>(); this.mockSubscriptionRepository = this.moqer.GetMock<IRssChannelsSubscriptionsRepository>(); this.mockRssChannelRepository = this.moqer.GetMock<IRssChannelsRepository>(); }
public void Setup() { this.moqer = new AutoMoq.AutoMoqer(); this.sut = this.moqer.Resolve <OpmlImporterService>(); this.mockOpmlReader = this.moqer.GetMock <IOpmlReader>(); this.mockSubscriptionRepository = this.moqer.GetMock <IRssChannelsSubscriptionsRepository>(); this.mockRssChannelRepository = this.moqer.GetMock <IRssChannelsRepository>(); }