public function setEntry($entry)
{
$this->entry = $entry;
return $this;
}
/** * @covers Imbo\Model\ListModel::setEntry * @covers Imbo\Model\ListModel::getEntry */ public function testCanSetAndGetAnEntryValue() { $this->assertNull($this->model->getEntry()); $entry = 'entry'; $this->assertSame($this->model, $this->model->setEntry($entry)); $this->assertSame($entry, $this->model->getEntry()); }