public function testHashCode() { $object = new TextElement(); $this->assertEquals(md5(get_class($object)), $object->getHashCode()); }