示例#1
0
 /**
  * @test
  */
 public function it_checks_if_any_of_given_files_or_directories_exists()
 {
     $file = new FileUtility();
     $this->assertTrue($file->anyExists(ADVISER_DIR, ["README.md", "readme"]));
     $this->assertTrue($file->anyExists(ADVISER_DIR, ["Src", "src"]));
     $this->assertFalse($file->anyExists(ADVISER_DIR, [uniqid()]));
 }