コード例 #1
0
 /**
  * @test
  */
 public function shouldReturnTrueIfTableExists()
 {
     // given
     $table = new TestTable();
     // when
     $this->getDb()->query("drop table TestTable");
     $table->createTable();
     // then
     $this->assertTrue($table->exists());
 }