public function testCanReplaceValues() { $array = Arrays::replace($this->array, 'foo', 'notfoo', 'notbar'); $matcher = array('notfoo' => 'notbar', 'bis' => 'ter'); $this->assertEquals($matcher, $array); }