Source

						public function testMergeTranslatedDoNotOverwriteNonArrays() {
		$item = array(
			'id' => 'test',
			'translated' => 'a'
		);
		$data = $this->adapter->merge(array(), $item);

		$item = array(
			'id' => 'test',
			'translated' => 'b'
		);
		$expected = array(
			'test' => array(
				'id' => 'test',
				'ids' => array(),
				'translated' => 'a',
				'flags' => array(),
				'comments' => array(),
				'occurrences' => array()
		));
		$result = $this->adapter->merge($data, $item);
		$this->assertEqual($expected, $result);
	}