object = new ImportXml(); } /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * * @access protected * @return void */ protected function tearDown() { unset($this->object); } /** * Test for getProperties * * @return void * * @group medium */ public function testGetProperties() { $properties = $this->object->getProperties(); $this->assertEquals( __('XML'), $properties->getText() ); $this->assertEquals( 'xml', $properties->getExtension() ); $this->assertEquals( 'text/xml', $properties->getMimeType() ); $this->assertEquals( array(), $properties->getOptions() ); $this->assertEquals( __('Options'), $properties->getOptionsText() ); } }