コード例 #1
0
ファイル: PuliTest.php プロジェクト: kormik/manager
 /**
  * @expectedException \Puli\Manager\Api\InvalidConfigException
  */
 public function testFailIfPluginClassNotInstanceOfPuliPlugin()
 {
     $filesystem = new Filesystem();
     $filesystem->copy($this->tempRoot . '/puli-not-a-plugin.json', $this->tempRoot . '/puli.json', true);
     $this->puli->setRootDirectory($this->tempRoot);
     $this->puli->start();
 }