Esempio n. 1
0
 /**
  * @covers \Shopware\Models\Mail\Mail::arrayGetPath
  */
 public function testArrayGetPath()
 {
     $input = array('sShop' => 'Shopware', 'sConfig' => array('lang' => array('iso' => 'de', 'id' => 5), 'sMail' => '*****@*****.**'));
     $exceptedOutput = array('sShop' => 'Shopware', 'sConfig.lang.iso' => 'de', 'sConfig.lang.id' => 5, 'sConfig.sMail' => '*****@*****.**');
     $mail = new Mail();
     $this->assertEquals($mail->arrayGetPath($input), $exceptedOutput);
 }