/** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. */ public function teardown() { $this->object->close(); unlink($this->file); }