protected function setUp() { $app = $this->getApp(); $files = $app['resources']->getPath('filespath'); $fs = new Filesystem(); $fs->copy(PHPUNIT_ROOT . '/resources/generic-logo.png', $files . '/generic-logo.png', true); }