public function testGetSetUrlParamSeparator()
{
$request = new THttpRequest();
$request->init(null);
// Try an invalid separator
try {
$request->setUrlParamSeparator('&&');
self::fail('httprequest_separator_invalid exception not thrown');
} catch (TInvalidDataValueException $e) {
}
// Try valid one
$request->setUrlParamSeparator('&');
self::assertEquals('&', $request->getUrlParamSeparator());
}