public function testOxUtilsFillExplodeArrayWithoutPrice() { $this->getConfig()->setConfigParam('bl_perfUseSelectlistPrice', false); $sValue = 'agentūЛитовfür'; $sParam = "{$sValue}1!P!10%__@@{$sValue}2!P!20abs__@@{$sValue}3!P!30%__@@"; $oVal1 = new stdClass(); $oVal1->name = 'agentūЛитовfür1'; $oVal1->value = ''; $oVal2 = new stdClass(); $oVal2->name = 'agentūЛитовfür2'; $oVal2->value = ''; $oVal3 = new stdClass(); $oVal3->name = 'agentūЛитовfür3'; $oVal3->value = ''; $aValue = array($oVal1, $oVal2, $oVal3); $oUtils = new oxUtils(); $this->assertEquals($aValue, $oUtils->assignValuesFromText($sParam, 15)); }