_query = new Solarium_Query_Analysis_Field; } public function testGetType() { $this->assertEquals(Solarium_Client::QUERYTYPE_ANALYSIS_FIELD, $this->_query->getType()); } public function testSetAndGetFieldValue() { $data = 'testdata'; $this->_query->setFieldValue($data); $this->assertEquals($data, $this->_query->getFieldValue()); } public function testSetAndGetFieldType() { $data = 'testdata'; $this->_query->setFieldType($data); $this->assertEquals($data, $this->_query->getFieldType()); } public function testSetAndGetFieldName() { $data = 'testdata'; $this->_query->setFieldName($data); $this->assertEquals($data, $this->_query->getFieldName()); } }