Example #1
0
 /**
  * Constructor.
  *
  * @param   Connection  $conn
  * @param   string      $table
  */
 public function __construct($conn, $table)
 {
     $this->schema = $conn->getSchemaManager();
     $this->table = $table;
 }
Example #2
0
 public function test_create_pools()
 {
     $this->assertSame($this->subject, Connection::create(['driver' => 'pdo_sqlite', 'memory' => 'true']));
 }
Example #3
0
 public function startTest(PHPUnit_Framework_Test $test)
 {
     Connection::reset();
 }