public function testHashCode() { $oSeries = new Series(); $object = new Pie3D(); $object->addSeries($oSeries); $this->assertEquals(md5($oSeries->getHashCode() . get_class($object)), $object->getHashCode()); }