Beispiel #1
0
 public void Setup()
 {
     this.moqer = new AutoMoq.AutoMoqer();
     this.sut   = this.moqer.Resolve <RssSubscriptionService>();
     this.mockHandlerFactory      = this.moqer.GetMock <ISubscriptionHandlerFactory>();
     this.mockSubscriptionHandler = this.moqer.GetMock <ISubscriptionHandler>();
 }
Beispiel #2
0
 public void Setup()
 {
     this.moqer = new AutoMoq.AutoMoqer();
     this.sut   = this.moqer.Resolve <RssSubscriptionService>();
     this.mockSessionProvider    = this.moqer.GetMock <ISessionProvider>();
     this.mockRssEventRepository = this.moqer.GetMock <IRssEventRepository>();
 }
 public void Setup()
 {
     this.moqer = new AutoMoq.AutoMoqer();
     this.sut   = this.moqer.Resolve <RssSubscriptionService>();
     this.mockRssToReadRepository = this.moqer.GetMock <IRssEntriesToReadRepository>();
 }
Beispiel #4
0
 public RssFeedsService(DbContextBuilder dbb)
     : base(dbb)
 {
     this.Subscriptions = new RssSubscriptionService(dbb);
 }
Beispiel #5
0
 public void Setup()
 {
     this.moqer = new AutoMoq.AutoMoqer();
     this.sut   = this.moqer.Resolve <RssSubscriptionService>();
     this.mockEntityRepository = this.moqer.GetMock <IEntityRepository>();
 }