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