getMock('Alchemy\Phrasea\Filesystem\PhraseanetFilesystem'); } protected function getSchema() { return file_get_contents($this->getSchemaPath()); } protected function getSchemaPath() { return __DIR__ . '/../../../../../lib/conf.d/plugin-schema.json'; } protected function createManifestMock() { return $this->getMockBuilder('Alchemy\Phrasea\Plugin\Schema\Manifest') ->disableOriginalConstructor() ->getMock(); } }