Copyright 2011-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
public function testInput() { $tdir = $this->getTemporaryDirectory(); $templates = new Components_Helper_Templates_Single(__DIR__ . '/../../../fixture/templates', $tdir, 'input', 'target'); $templates->write(array('input' => 'SOME INPUT')); $this->assertEquals("SOME INPUT", file_get_contents($tdir . '/target')); }