Allow decoupling with a mock user for events