public function testOnSiteAccessMatchSubRequest()
{
$event = new PostSiteAccessMatchEvent(new SiteAccess('test'), new Request(), HttpKernelInterface::SUB_REQUEST);
$resettableServices = array('foo', 'bar.baz');
$updateableServices = array('some_service' => array(array('method' => 'some_expression')), 'another_service' => array(array('method' => 'another_expression')));
$this->container->expects($this->never())->method('set');
$this->expressionLanguage->expects($this->never())->method('evaluate');
$listener = new DynamicSettingsListener($resettableServices, $updateableServices, $this->expressionLanguage);
$listener->setContainer($this->container);
$listener->onSiteAccessMatch($event);
}