/** * Test get/set hash index */ public function testSetGetHashIndex() { $object = new Note(); $value = rand(1, 100); $this->assertNull($object->getHashIndex()); $object->setHashIndex($value); $this->assertEquals($value, $object->getHashIndex()); }