plugin = new QueryPlugin(); } public function testNormal() { $rocket = (new Rocket()) ->setParams([]); $result = $this->plugin->assembly($rocket, function ($rocket) { return $rocket; }); $payload = $result->getPayload()->toJson(); self::assertNotEquals(ResponseDirection::class, $result->getDirection()); self::assertStringContainsString('zoloz.authentication.customer.ftoken.query', $payload); } }