@dataProvider provideMatcherOptionsPreventingCaching
public function testMatcherIsCreatedIfCacheIsNotConfigured($option) {
$this->router
->setOption($option, null);
$this->loader
->expects($this
->once())
->method('load')
->with('routing.yml', null)
->will($this
->returnValue($this
->getMock('Symfony\\Component\\Routing\\RouteCollection')));
$this
->assertInstanceOf('Symfony\\Component\\Routing\\Matcher\\UrlMatcher', $this->router
->getMatcher());
}