/**
* It should merge a given array and return a new instance with the
* merged data.
*/
public function testMerge()
{
$row = new Row(['bar' => 'bar']);
$row->setFormatParams(['of' => 'fo']);
$new = $row->merge(['foo' => 'foo']);
$this->assertNotSame($row, $new);
$this->assertEquals(['of' => 'fo'], $new->getFormatParams());
$this->assertEquals(['bar' => 'bar', 'foo' => 'foo'], $new->getArrayCopy());
}