Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
integration
testsuite
Magento
Framework
MessageQueue
UseCase
RemoteServiceCommunicationTest.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\MessageQueue\UseCase
;
7
8
use
Magento\TestModuleSynchronousAmqp\Api\ServiceInterface
;
9
10
class
RemoteServiceCommunicationTest
extends
QueueTestCaseAbstract
11
{
15
protected
$consumers
= [
'RemoteServiceTestConsumer'
];
16
17
public
function
testRemoteServiceCommunication()
18
{
19
$input =
'Input value'
;
21
$generatedRemoteService = $this->objectManager->get(ServiceInterface::class);
22
$response
= $generatedRemoteService->execute($input);
23
$this->assertEquals($input .
' processed by RPC handler'
,
$response
);
24
}
25
}
$response
$response
Definition:
404.php:11
Magento\Framework\MessageQueue\UseCase\RemoteServiceCommunicationTest
Definition:
RemoteServiceCommunicationTest.php:10
Magento\Framework\MessageQueue\UseCase\QueueTestCaseAbstract
Definition:
QueueTestCaseAbstract.php:18
Magento\Framework\MessageQueue\UseCase\RemoteServiceCommunicationTest\$consumers
$consumers
Definition:
RemoteServiceCommunicationTest.php:15
Magento\Framework\MessageQueue\UseCase
Definition:
AsyncMultipleHandlersTest.php:6
Magento\TestModuleSynchronousAmqp\Api\ServiceInterface
Definition:
ServiceInterface.php:8