Пример #1
0
 /**
  * Test sendResponse method without any exception
  */
 public function testSendResponseSuccessHandling()
 {
     $this->_responseRest->sendResponse();
     $this->assertTrue($this->_responseRest->getHttpResponseCode() == \Magento\Webapi\Controller\Response::HTTP_OK);
 }