Pickle\tests\units\Engine\PHP\Ini::do_testupdatePickleSection PHP Method

do_testupdatePickleSection() protected method

protected do_testupdatePickleSection ( $orig )
    protected function do_testupdatePickleSection($orig)
    {
        $fl = "{$orig}.test";
        $fl_exp = "{$orig}.exp";
        copy($orig, $fl);
        $php = $this->getEngineMock($fl);
        $ini = new \Pickle\Engine\PHP\Ini($php);
        $ini->updatePickleSection(array("php_pumpkin.dll", "php_hello.dll"));
        $this->string(file_get_contents($fl))->isEqualToContentsOfFile($fl_exp);
        unlink($fl);
    }