public function testMapWithoutCollection()
 {
     $collection = new Collection();
     $collection->addElementTextsByArray(array('Dublin Core' => array('Title' => array(array('text' => 'Plants', 'html' => false)))));
     $collection->save();
     $row = array('title' => 'Animals', 'description' => 'Foo');
     $map = new CsvImport_ColumnMap_Collection('title');
     $this->assertFalse($map->map($row, array()));
 }
 public function testMapWithoutCollection()
 {
     $collection = new Collection();
     $collection->addElementTextsByArray(array('Dublin Core' => array('Title' => array(array('text' => 'Plants', 'html' => false)))));
     $collection->save();
     $row = array('title' => 'Animals', 'description' => 'Foo');
     $map = new CsvImport_ColumnMap_Collection('title');
     $this->markTestSkipped(__('Since 2.2-full, collections are checked during import.'));
     $this->assertFalse($map->map($row, array()));
 }