public function tearDown() { if ($this->api) { $this->api->delete(); } parent::tearDown(); }
public function tearDown() { if ($this->originalName && $this->originalName !== $this->getRecord1()->get_original_name()) { $this->getRecord1()->set_original_name($this->originalName); } parent::tearDown(); }
public function tearDown() { if ($this->object) { $this->object->delete(); } try { new Bridge_Api(self::$DI['app'], $this->id); $this->fail(); } catch (Bridge_Exception_ApiNotFound $e) { } parent::tearDown(); }
public function tearDown() { if ($this->object) { $this->object->delete(); } try { new Bridge_Element(self::$DI['app'], $this->account, $this->id); $this->fail(); } catch (Bridge_Exception_ElementNotFound $e) { } if ($this->api) { $this->api->delete(); } parent::tearDown(); }