Exemple #1
0
 /**
  * @depends testRemoveFieldMapping
  * @param Query $query
  */
 public function testSetFields($query)
 {
     $fields = array('field3' => 'target3', 'field4' => 'target4');
     $query->setFieldMappings($fields);
     $this->assertEquals($fields, $query->getFieldMappings());
 }