public function testPrepareBaseUrl()
{
$serverParams = array('SCRIPT_FILENAME' => 'xy.php', 'SCRIPT_NAME' => 'xy..php', 'PHP_SELF' => 'xy', 'ORIG_SCRIPT_NAME' => 'xy.php');
$request = new Request(array(), array(), array(), array(), array(), $serverParams);
$helper = $this->getLanguageHelper($request, null, $request);
$baseUrl = $helper->prepareBaseUrl('/xy/');
$this->assertEquals('', $baseUrl);
}