public void Should_throw_when_listener_with_no_interfaces_added()
        {
            var eventAggregator = new EventAggregator();
            NoListenerInterfaces noListenerInterfaces = new NoListenerInterfaces();

            typeof(ArgumentException).ShouldBeThrownBy(() => eventAggregator.AddListener(noListenerInterfaces, null));
        }
 public void Should_throw_when_listener_with_no_interfaces_added()
 {
     var eventAggregator = new EventAggregator();
     NoListenerInterfaces noListenerInterfaces = new NoListenerInterfaces();
     typeof(ArgumentException).ShouldBeThrownBy(() => eventAggregator.AddListener(noListenerInterfaces, null));
 }