Exemple #1
0
 /**
  * @depends testClearFieldMappingss
  * @param Query $query
  */
 public function testAddFieldMappings($query)
 {
     $fields = array('field1' => 'target1', 'field2' => 'target2');
     $query->addFieldMappings($fields);
     $this->assertEquals($fields, $query->getFieldMappings());
     return $query;
 }