public function testFileName() { $dependency = new TFileCacheDependency(__FILE__); $this->assertEquals($dependency->getFileName(), __FILE__); $this->assertEquals($dependency->getTimestamp(), filemtime(__FILE__)); $dependency = new TFileCacheDependency(dirname(__FILE__) . '/foo.txt'); $this->assertFalse($dependency->getTimestamp()); }