예제 #1
0
파일: ClientTest.php 프로젝트: f21/paradox
 /**
  * @covers Paradox\Client::transactionStarted
  */
 public function testTransactionStarted()
 {
     $this->assertFalse($this->client->transactionStarted(), "There should be no active transaction");
     $this->client->begin();
     $this->assertTrue($this->client->transactionStarted(), "There should be an active transaction");
 }