예제 #1
0
 public function testSiteDirSubItemFullPathOnlyWithTrailingSlash()
 {
     $sFileResource = new FileResource(SITE_DIR . '/web/');
     $this->assertSame(SITE_DIR . '/web', $sFileResource->getFullPath());
     $this->assertSame('site/', $sFileResource->getInstancePrefix());
     $this->assertSame('web', $sFileResource->getRelativePath());
 }