/**
  * @test
  */
 public function unlockSiteClosesLockResource()
 {
     $mockLockResource = fopen($this->mockLockFile->url(), 'w+');
     $this->mockLockFile->lock($mockLockResource, LOCK_EX | LOCK_NB);
     $this->inject($this->lockManager, 'lockResource', $mockLockResource);
     $this->lockManager->unlockSite();
     $this->assertFalse(is_resource($mockLockResource));
 }