/** * @throws \React\PublisherPulsar\Inventory\Exceptions\PublisherPulsarException */ public function testRequestForActionPermission() { sleep(2); self::$performer->requestForActionPermission(); $this->assertInstanceOf(\React\PublisherPulsar\Inventory\BecomeTheSubscriberReplyDto::class, self::$performer->getBecomeTheSubscriberReplyDto()); }