/** * @covers SmsZilla\Adapter\FileAdapter::setParams */ public function testSetParams() { $this->object->setParams(['store_path' => __DIR__]); $this->assertEquals(__DIR__, $this->object->getParam('store_path')); $this->expectException(\SmsZilla\ConfigurationException::class); $this->object->setParams(['dummy' => 1]); }
public function __construct() { parent::__construct(__DIR__ . '/../../../res/throwaway_domains.txt'); }
/** * {@inheritdoc} */ public function getPathInfo(array $info) { $info['root'] = ''; return parent::getPathInfo($info); }