public function init($id = null) { $this->setId($id); }
/** * Test * * @return void */ public function testInit() { $this->object->init(1); $this->assertEquals(1, $this->object->getId()); }