コード例 #1
0
 public function testCanReplaceValues()
 {
     $array = Arrays::replace($this->array, 'foo', 'notfoo', 'notbar');
     $matcher = array('notfoo' => 'notbar', 'bis' => 'ter');
     $this->assertEquals($matcher, $array);
 }