Exemplo n.º 1
0
 /**
  * @test
  */
 public function buildTypolinkConfigurationProperlySetsAddQueryStringMethod()
 {
     $this->uriBuilder->setTargetPageUid(123);
     $this->uriBuilder->setAddQueryString(true);
     $this->uriBuilder->setAddQueryStringMethod('GET,POST');
     $expectedConfiguration = array('parameter' => 123, 'addQueryString' => 1, 'addQueryString.' => array('method' => 'GET,POST'), 'useCacheHash' => 1);
     $actualConfiguration = $this->uriBuilder->_call('buildTypolinkConfiguration');
     $this->assertEquals($expectedConfiguration, $actualConfiguration);
 }