/** * @dataProvider dataProvider */ public function testSetGetCompileDir(Smarty $smarty) { $this->assertSame(__DIR__ . '/Templates/Compile', $smarty->getCompileDir()); $smarty->setCompileDir('/tmp/new-compile'); $this->assertSame('/tmp/new-compile', $smarty->getCompileDir()); }