22 $this->_object = new \Magento\TestFramework\Annotation\DbIsolation();
27 $eventParam = new \Magento\TestFramework\Event\Param\Transaction();
28 $this->_object->startTestTransactionRequest($this, $eventParam);
29 $this->assertTrue($eventParam->isTransactionStartRequested());
30 $this->assertFalse($eventParam->isTransactionRollbackRequested());
32 $eventParam = new \Magento\TestFramework\Event\Param\Transaction();
33 $this->_object->startTransaction($this);
34 $this->_object->startTestTransactionRequest($this, $eventParam);
35 $this->assertFalse($eventParam->isTransactionStartRequested());
36 $this->assertFalse($eventParam->isTransactionRollbackRequested());
52 $eventParam = new \Magento\TestFramework\Event\Param\Transaction();
53 $this->_object->startTestTransactionRequest($this, $eventParam);
54 $this->assertFalse($eventParam->isTransactionStartRequested());
55 $this->assertFalse($eventParam->isTransactionRollbackRequested());
57 $eventParam = new \Magento\TestFramework\Event\Param\Transaction();
58 $this->_object->startTransaction($this);
59 $this->_object->startTestTransactionRequest($this, $eventParam);
60 $this->assertFalse($eventParam->isTransactionStartRequested());
61 $this->assertTrue($eventParam->isTransactionRollbackRequested());
70 $this->_object->startTestTransactionRequest($this,
new \
Magento\TestFramework\Event\Param\Transaction());
80 $this->_object->startTestTransactionRequest($this,
new \
Magento\TestFramework\Event\Param\Transaction());
88 $eventParam = new \Magento\TestFramework\Event\Param\Transaction();
89 $this->_object->endTestTransactionRequest($this, $eventParam);
90 $this->assertFalse($eventParam->isTransactionStartRequested());
91 $this->assertFalse($eventParam->isTransactionRollbackRequested());
93 $eventParam = new \Magento\TestFramework\Event\Param\Transaction();
94 $this->_object->startTransaction($this);
95 $this->_object->endTestTransactionRequest($this, $eventParam);
96 $this->assertFalse($eventParam->isTransactionStartRequested());
97 $this->assertTrue($eventParam->isTransactionRollbackRequested());
testStartTestTransactionRequestClassIsolationEnabled()
testStartTestTransactionRequestInvalidAnnotation()
testStartTestTransactionRequestAmbiguousAnnotation()
testStartTestTransactionRequestMethodIsolationEnabled()
testEndTestTransactionRequestMethodIsolationEnabled()
testStartTestTransactionRequestMethodIsolationDisabled()