Example #1
0
 public function testGetDateAccessed()
 {
     $file = new File();
     $link = new FileLink($file);
     $this->assertInstanceOf('DateTime', $link->getDateAccessed());
     $this->assertNotSame($link->getDateAccessed(), $file->getDateAccessed());
 }
Example #2
0
 public function testGetDateAccessed()
 {
     $file = new File();
     $this->assertInstanceOf('DateTime', $file->getDateAccessed());
 }