Esempio n. 1
0
 public function testGetFileNameMatchesAfterSet()
 {
     $o = new StaticFileModel();
     $o->setFilePath(__FILE__);
     $this->assertEquals(basename(__FILE__), $o->getFileName());
 }
Esempio n. 2
0
 public function testBasicSetFilename()
 {
     $o = new StaticFileModel();
     $o->setFileName(__FILE__);
     $this->assertEquals(__FILE__, $o->getFileName());
 }