public function testRender() { $configSample = array('some' => 'setting'); $processor = new Processor($configSample); $tpl = file_get_contents($this->path . 'tpl1.less'); $rendered = $processor->render($tpl, array('some' => 'val')); $static = file_get_contents($this->path . 'tpl1.css'); $this->assertSame(trim($static), trim($rendered)); $this->assertSame($processor->getConfig(), $configSample); }