public function testParseWithOneContentItemWithTwoDifs()
 {
     $content = new \Swiftriver\Core\ObjectModel\Content();
     $content->SetId("testId");
     $dif1 = new \Swiftriver\Core\ObjectModel\DuplicationIdentificationField();
     $dif1->SetType('testType');
     $dif1->SetValue('testValue');
     $dif2 = new \Swiftriver\Core\ObjectModel\DuplicationIdentificationField();
     $dif2->SetType('testType2');
     $dif2->SetValue('testValue2');
     $difs = array($dif1, $dif2);
     $content->SetDifs($difs);
     $contentItems = array($content);
     $json = $this->object->Parse($contentItems);
     $this->assertEquals('[{"id":"testId","difs":[{"type":"testType","value":"testValue"},{"type":"testType2","value":"testValue2"}]}]', $json);
 }