/**
  * Ensures that the iterator removes vendor directories.
  */
 public function testRemovesVendorDirectory()
 {
     $this->assertNotContains(VendorResources::getVendorDirectory(), $this->getFiles());
 }
 /**
  * Checks if the current element is accepted.
  *
  * @return boolean
  */
 public function accept()
 {
     return !VendorResources::isVendorFile(parent::current());
 }