public function testremoveRouteAsArray() { $stack = new SimpleRouteStack(); $stack->addRoutes(array('foo' => new TestAsset\DummyRoute())); $this->assertEquals($stack, $stack->removeRoute('foo')); $this->assertNull($stack->match(new Request())); }
public function testremoveRouteAsArray() { $stack = new SimpleRouteStack(); $stack->addRoutes(array('foo' => new TestAsset\DummyRoute())); $this->assertEquals($stack, $stack->removeRoute('foo')); $this->assertNull($stack->match(new Request())); }