public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory( 'Zend\Mvc\Router\Http\Method', array( 'verb' => 'Missing "verb" in options array' ), array( 'verb' => 'get' ) ); }
public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory('Zend\\Mvc\\Router\\Http\\TreeRouteStack', array(), array()); }
public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory('Zend\\Mvc\\Router\\Http\\Scheme', array('scheme' => 'Missing "scheme" in options array'), array('scheme' => 'http')); }
public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory('Zend\\Mvc\\Router\\Http\\Regex', array('regex' => 'Missing "regex" in options array', 'spec' => 'Missing "spec" in options array'), array('regex' => '/foo', 'spec' => '/foo')); }
public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory('Zend\\Mvc\\Router\\Http\\Segment', array('route' => 'Missing "route" in options array'), array('route' => '/:foo[/:bar{-}]', 'constraints' => array('foo' => 'bar'))); }
public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory('Zend\\Mvc\\Router\\SimpleRouteStack', array(), array('route_broker' => new RouteBroker(), 'routes' => array(), 'default_params' => array())); }
public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory( 'Zend\Mvc\Router\Http\Query', array(), array() ); }
public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory('\\Zend\\Mvc\\Router\\Http\\Part', array('route' => 'Missing "route" in options array', 'route_broker' => 'Missing "route_broker" in options array'), array('route' => new \Zend\Mvc\Router\Http\Literal('/foo'), 'route_broker' => new RouteBroker())); }
public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory('Zend\\Mvc\\Router\\Http\\Part', array('route' => 'Missing "route" in options array', 'route_plugins' => 'Missing "route_plugins" in options array'), array('route' => new \Zend\Mvc\Router\Http\Literal('/foo'), 'route_plugins' => new RoutePluginManager())); }
public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory('Zend\\Mvc\\Router\\Http\\Wildcard', array(), array()); }
public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory('Zend\\Mvc\\Router\\Http\\Hostname', array('route' => 'Missing "route" in options array'), array('route' => 'example.com')); }
public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory('Zend\\Mvc\\Router\\Http\\Chain', array('routes' => 'Missing "routes" in options array', 'route_plugins' => 'Missing "route_plugins" in options array'), array('routes' => array(), 'route_plugins' => new RoutePluginManager())); }
public function testFactory() { $tester = new FactoryTester($this); $tester->testFactory('\\Zend\\Mvc\\Router\\Http\\Literal', array('route' => 'Missing "route" in options array'), array('route' => '/foo')); }
public function testFactory() { $this->markTestIncomplete("todo"); $tester = new FactoryTester($this); $tester->testFactory('Linguo\\Library\\Mvc\\Router\\Http\\MultiLangSegment', ['route' => 'Missing "route" in options array'], ['route' => '/:foo[/:bar{-}]', 'constraints' => ['foo' => 'bar']]); }