getGateway()->getDbConnection(); $this->add_record1(); $this->add_record2(); $info = TDbMetaData::getInstance($conn)->getTableInfo('address'); $table = new TTableGateway($info, $conn); $this->assertEqual(count($table->findAll()->readAll()), 2); } } ?>