public void SetUp() { this.view = new MockCommentEditBox(); this.preview = new MockCommentViewPreview(); this.eventAggregator = new MockEventAggregator(); this.configurationService = new MockConfigurationService(); this.timelineModel = new MockTimelineModel(); this.playCommentEvent = new MockPlayCommentEvent(); this.commentUpdatedEvent = new MockCommentUpdatedEvent(); this.eventAggregator.AddMapping <PlayCommentEvent>(this.playCommentEvent); this.eventAggregator.AddMapping <CommentUpdatedEvent>(this.commentUpdatedEvent); }
public void SetUp() { this.view = new MockCommentEditBox(); this.preview = new MockCommentViewPreview(); this.eventAggregator = new MockEventAggregator(); this.configurationService = new MockConfigurationService(); this.sequenceModel = new MockSequenceModel(); this.playCommentEvent = new MockPlayCommentEvent(); this.commentUpdatedEvent = new MockCommentUpdatedEvent(); this.sequenceRegistry = new MockSequenceRegistry(); this.sequence = new Sequence(); this.sequenceRegistry.CurrentSequence = this.sequence; this.sequenceRegistry.CurrentSequenceModel = this.sequenceModel; this.eventAggregator.AddMapping <PlayCommentEvent>(this.playCommentEvent); this.eventAggregator.AddMapping <CommentUpdatedEvent>(this.commentUpdatedEvent); }