/** * @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(); }