public function setUp() { vfsStream::setup(self::STORAGE_DIR); $this->object = new CustomWriterFactory(); }