public function testConstruct() { $basePath = 'test/resources/'; $file = new File($this->fileName, $basePath); $this->assertEquals($this->fileName, $file->getRelativeFileName()); $this->assertEquals($basePath, $file->getBasePath()); $this->assertFalse($file->isLoaded()); }