/** * @test * @expectedException \Neos\Flow\Composer\Exception\MissingPackageManifestException */ public function throwExceptionWhenSpecifyingAPathWithMissingComposerManifest() { $packagePath = 'vfs://Packages/Some/Path/Some.Package/'; mkdir($packagePath, 0777, true); $package = new Package('Some.Package', 'some/package', 'vfs://Packages/Some/Path/Some.Package/', []); $package->getComposerManifest(); }