Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
DataTest Class Reference
Inheritance diagram for DataTest:

Public Member Functions

 testGetInfoBlock ()
 

Detailed Description

Definition at line 12 of file DataTest.php.

Member Function Documentation

◆ testGetInfoBlock()

testGetInfoBlock ( )

Definition at line 14 of file DataTest.php.

15  {
18  \Magento\Payment\Model\Info::class
19  );
20  $paymentInfo->setMethod('checkmo');
21  $result = $helper->getInfoBlock($paymentInfo);
22  $this->assertInstanceOf(\Magento\OfflinePayments\Block\Info\Checkmo::class, $result);
23  }
$helper
Definition: iframe.phtml:13
$paymentInfo

The documentation for this class was generated from the following file: