public function testSaveDirty() { $this->arrayAdapter->expects($this->once())->method('save')->will($this->returnValue(1)); $this->scalarAdapter->expects($this->once())->method('save')->will($this->returnValue(1)); $this->object['inner']->expects($this->once())->method('save')->will($this->returnValue(3)); $this->assertEquals(TRUE, $this->object->save()); }
/** * Save parameters values, transferring data to adapters. * * @return bool */ protected function saveParameters() { return $this->parameters->save(); }
public function testSave() { $this->assertEquals(FALSE, $this->object->save()); }