9 use Magento\Mtf\Constraint\AbstractConstraint;
11 use Magento\Sales\Test\Page\Adminhtml\OrderIndex;
12 use Magento\Sales\Test\Page\Adminhtml\SalesOrderView;
28 public function processAssert(
30 OrderIndex $orderIndex,
31 SalesOrderView $salesOrderView,
35 $orderIndex->getSalesOrderGrid()->searchAndOpen([
'id' =>
$order->getId()]);
37 $infoTab = $salesOrderView->getOrderForm()->openTab(
'info')->getTab(
'info');
38 $actualPaymentInformation = $infoTab->getPaymentInfoBlock()->getData();
40 \PHPUnit\Framework\Assert::assertEmpty(
42 'Payment Information missmatch with expected values.' 53 return 'Payment Information valid and matches with expected values.';