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(); }