コード例 #1
0
ファイル: SqonTest.php プロジェクト: sqon/sqon
 /**
  * Verify that an existing Sqon can be opened.
  */
 public function testExistingSqonCanBeOpened()
 {
     $script = '<?php __HALT_COMPILER();';
     $this->sqon->setBootstrap($script)->commit();
     $this->sqon = null;
     $sqon = Sqon::open($this->file);
     self::assertEquals($script, $sqon->getBootstrap(), 'The existing Sqon was not opened.');
 }