/**
  * @expectedException Exception
  * @expectedExceptionMessage Error mysql server already in transaction!
  */
 public function testTransactionException()
 {
     // start - test a transaction - true
     $beginTransaction = $this->db->beginTransaction();
     self::assertEquals(true, $beginTransaction);
     // start - test a transaction - false
     $beginTransaction = $this->db->beginTransaction();
     self::assertEquals(false, $beginTransaction);
 }