object = new ImportShp(); } /** * 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( __('ESRI Shape File'), $properties->getText() ); $this->assertEquals( 'shp', $properties->getExtension() ); $this->assertEquals( array(), $properties->getOptions() ); $this->assertEquals( __('Options'), $properties->getOptionsText() ); } }