예제 #1
0
 /**
  * @return	null
  */
 public function testPreFiltersManyFilters()
 {
     $data = array('intercept' => array('include-pre' => array('my-filter', 'your-filter')));
     $detail = new MvcRouteDetail($data);
     $this->assertTrue($detail->isPreFilters());
     $this->assertFalse($detail->isExcludedPreFilters());
     $expected = $data['intercept']['include-pre'];
     $this->assertEquals($expected, $detail->getPreFilters());
 }