public void IgnoresWrongEventsTest()
        {
            var queue   = new Mock <ISyncEventQueue>();
            var storage = new Mock <IMetaDataStorage>();
            var handler = new EventManagerInitializer(queue.Object, storage.Object, CreateRepoInfo(), MockOfIFilterAggregatorUtil.CreateFilterAggregator().Object, this.listener);

            var e = new Mock <ISyncEvent>();

            Assert.False(handler.Handle(e.Object));
            this.queue.Verify(q => q.AddEvent(It.IsAny <ISyncEvent>()), Times.Never);
        }
        public void IgnoresWrongEventsTest() {
            var queue = new Mock<ISyncEventQueue>();
            var storage = new Mock<IMetaDataStorage>();
            var handler = new EventManagerInitializer(queue.Object, storage.Object, Mock.Of<IFileTransmissionStorage>(), Mock.Of<IIgnoredEntitiesStorage>(), CreateRepoInfo(), MockOfIFilterAggregatorUtil.CreateFilterAggregator().Object, this.listener);

            var e = new Mock<ISyncEvent>();
            Assert.False(handler.Handle(e.Object));
            this.queue.Verify(q => q.AddEvent(It.IsAny<ISyncEvent>()), Times.Never);
        }