コード例 #1
0
 public function testOverwriteChannel()
 {
     $expectedAction = 'Test.ff';
     $this->parameters['format'] = 'json';
     $this->parameters['channel'] = 'en';
     $expectedPath = '/' . $this->configuration->getContext() . '/' . $expectedAction;
     $expectedParameters = array('channel' => 'en', 'format' => 'json');
     $this->assertUrlEquals($expectedPath, $expectedParameters, $this->urlBuilder->getNonAuthenticationUrl($expectedAction, $this->parameters));
 }