/**
* @group functional
*/
public function testGetters()
{
$index = $this->_createIndex();
$type = $index->getType('test');
$properties = array('firstname' => array('type' => 'string', 'store' => true), 'lastname' => array('type' => 'string'));
$mapping = new Mapping($type, $properties);
$all = array('enabled' => true, 'store' => true);
$mapping->setParam('_all', $all);
$get_all = $mapping->getParam('_all');
$this->assertEquals($get_all, $all);
$this->assertNull($mapping->getParam('_boost', $all));
$this->assertEquals($properties, $mapping->getProperties());
$index->delete();
}