Extends
lithium\test\UnitSource
public function testMergeComments() {
$item = array(
'id' => 'test',
'comments' => array('a')
);
$data = $this->adapter->merge(array(), $item);
$item = array(
'id' => 'test',
'comments' => array('b')
);
$expected = array(
'test' => array(
'id' => 'test',
'ids' => array(),
'translated' => null,
'flags' => array(),
'comments' => array('a', 'b'),
'occurrences' => array()
));
$result = $this->adapter->merge($data, $item);
$this->assertEqual($expected, $result);
}