public function testGetId() { $id = 'foo'; $this->obj->setId($id); $this->assertSame($id, $this->obj->getId()); }