/** * Test configured prepared method * * @return void */ public function testGetPrepareMethod() { $method = $this->_conf->getPrepareMethod(); $this->string($method)->isIdenticalTo('gd'); $conf = new Viewer\Conf(TESTS_DIR . '/config/config-woprepared.yml'); $method = $conf->getPrepareMethod(); $this->string($method)->isIdenticalTo('choose'); }