public function testSaveHandlerIsMutable() { $this->getModel($this->validatorMock); $this->config->setSaveHandler('redis'); $this->assertEquals('user', $this->config->getSaveHandler()); $this->assertEquals('redis', $this->config->getSaveHandlerName()); $this->config->setSaveHandler('files'); $this->assertEquals('files', $this->config->getSaveHandler()); $this->assertEquals('files', $this->config->getSaveHandlerName()); }
public function testSaveHandlerIsMutable() { $this->_model->setSaveHandler('user'); $this->assertEquals('user', $this->_model->getSaveHandler()); }