public void Filed_Unsubscribe_Contains_Plugin_Test()
        {
            // 1) arrange
            var                     ex              = new Exception();
            IEventContainer         eventConteiner  = new FiledEventConteiner_Mock(ex);
            IEventAggregatorService eventAggregator = new EventAggregatorService(errorHandler, publisherCreator, eventConteiner);

            // 2) act
            eventAggregator.SubscribePlugin(plugin);
            eventAggregator.UnsubscribePlugin(plugin);

            // 3) assert
            errorHandler.AssertWasCalled(x => x.OnUnsubscriptionFailed(plugin, ex));
        }
        public void Unsubscribe_Not_Contains_Plugin_Test()
        {
            // 1) arrange
            var eventConteiner = MockRepository.GenerateMock <IEventContainer>();
            IEventAggregatorService eventAggregator = new EventAggregatorService(errorHandler, publisherCreator, eventConteiner);

            // 2) act
            eventAggregator.UnsubscribePlugin(plugin);

            // 3) assert
            errorHandler.AssertWasNotCalled(
                x => x.OnUnsubscriptionFailed(plugin, new ExternalException()),
                option => option.IgnoreArguments());
        }