public function tearDown() { parent::tearDown(); // Make sure that everything still exists if (!$this->timeline || !$this->eventTypeId) { return false; } $this->deleteEventType(); }