public function tearDown() { parent::tearDown(); if ($this->getStream()->isOpen()) { $this->getStream()->close(); } }
public function tearDown() { parent::tearDown(); $streamAccess = $this->getStreamAccess(); unset($streamAccess); $stream = $this->getStream(); unset($stream); }
public function tearDown() { parent::tearDown(); unset($this->emptyStream); }
public function tearDown() { parent::tearDown(); unset($this->container); }
public function tearDown() { parent::tearDown(); }
public function tearDown() { parent::tearDown(); unset($this->operands); }
public function tearDown() { parent::tearDown(); unset($this->collection); }
public function tearDown() { parent::tearDown(); unset($this->test); }
/** * Create a QtiComponent object from an XML String. * * @param string $xmlString An XML String to transform in a QtiComponent object. * @param string $version A QTI version rule the creation of the component. * @return \qtism\data\QtiComponent */ public function createComponentFromXml($xmlString, $version = '2.1.0') { $element = QtiSmTestCase::createDOMElement($xmlString); $factory = $this->getMarshallerFactory($version); $marshaller = $factory->createMarshaller($element); return $marshaller->unmarshall($element); }
public function tearDown() { parent::tearDown(); unset($this->state); }
public function tearDown() { parent::tearDown(); // unregister testing custom operators autoloader. spl_autoload_unregister('custom_operator_autoloader'); }