/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. */ public function setUp() { $oConfig = new \stdClass(); $oConfig->path = '/tmp'; $this->_object = new File(); $this->_object->setConfig($oConfig); }