public function createEmitter($methods = null) { return $this->getMock(EventEmitter::class, $methods); }