Example #1
0
 /**
  * @test
  */
 public function aPackageCanBeFlaggedAsProtected()
 {
     $packagePath = 'vfs://Packages/Application/Vendor/Dummy/';
     mkdir($packagePath, 0700, TRUE);
     $package = new Package('Vendor.Dummy', $packagePath);
     $this->assertFalse($package->isProtected());
     $package->setProtected(TRUE);
     $this->assertTrue($package->isProtected());
 }