Tricky test. You will need to use a fake configuration and verify that the event manager has the correct attached subscriber.