예제 #1
0
파일: SectionTest.php 프로젝트: visor/nano
 public function testBuildStaticLocationWithoutSuffix()
 {
     $this->section->get('', 'index', 'index');
     self::assertInstanceOf('Nano\\Route\\StaticLocation', $this->section->getRoutes()->offsetGet('get')->offsetGet(0));
     self::assertEquals('', $this->section->getRoutes()->offsetGet('get')->offsetGet(0)->location());
 }