public function testApiCopyEvents_AttachesOnProxyListenerForEvents(EventEmitterInterface $emitter)
{
$listener = $this->createEventEmitter();
$emitter->copyEvents($listener, ['A', 'B']);
$listener->on('A', $this->expectCallableOnce());
$listener->on('B', $this->expectCallableOnce());
$emitter->emit('A');
$emitter->emit('B');
}