/** * @test */ public function it_checks_if_given_file_or_directory_exists() { $file = new FileUtility(); $this->assertTrue($file->exists(ADVISER_DIR)); $this->assertTrue($file->exists(ADVISER_DIR . "/composer.json")); $this->assertFalse($file->exists(ADVISER_DIR . uniqid())); }