MockClient should extend EventEmitter