public void GetEventTypeByNameReturnsCorrectType() { var manager = new InMemoryEventBusSubscriptionsManager(); manager.AddSubscription <TestEvent, TestEventHandler>(); var eventType = manager.GetEventTypeByName("TestEvent"); Assert.Equal(typeof(TestEvent), eventType); }