Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RemoteServiceCommunicationTest.php
Go to the documentation of this file.
1 <?php
7 
9 
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
Definition: 404.php:11