public ObserverExceptionWrappingChangeFeedObserverDecoratorTests() { this.observer = new Mock <ChangeFeedObserver <MyDocument> >(); this.changeFeedObserverContext = Mock.Of <ChangeFeedObserverContext>(); this.observerWrapper = new FeedProcessing.ObserverExceptionWrappingChangeFeedObserverDecorator <MyDocument>(this.observer.Object); var document = new MyDocument(); documents = new List <MyDocument> { document }; }
public ObserverExceptionWrappingChangeFeedObserverDecoratorTests() { this.observer = Mock.Of <IChangeFeedObserver>(); this.changeFeedObserverContext = Mock.Of <IChangeFeedObserverContext>(); this.observerWrapper = new FeedProcessing.ObserverExceptionWrappingChangeFeedObserverDecorator(observer); var document = new Document(); documents = new List <Document> { document }; }