mock the EventManager methods for connections