/**
  * @covers \Magento\Sales\Model\Order\Payment::getShouldCloseParentTransaction()
  * @return void
  */
 public function testGetShouldCloseParentTransaction()
 {
     $this->payment->setShouldCloseParentTransaction(1);
     static::assertTrue($this->payment->getShouldCloseParentTransaction());
     $this->payment->setShouldCloseParentTransaction(0);
     static::assertFalse($this->payment->getShouldCloseParentTransaction());
 }
 /**
  * {@inheritdoc}
  */
 public function getShouldCloseParentTransaction()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getShouldCloseParentTransaction');
     if (!$pluginInfo) {
         return parent::getShouldCloseParentTransaction();
     } else {
         return $this->___callPlugins('getShouldCloseParentTransaction', func_get_args(), $pluginInfo);
     }
 }