Unit tested EventManager