public function getByHashCode($pHashCode = '') { if (isset($this->items[$pHashCode])) { return $this->items[$pHashCode]; } return null; }
/** */ public function testConstructNull() { $object = new HashTable(); $this->assertEquals(0, $object->count()); $this->assertNull($object->getByIndex()); $this->assertNull($object->getByHashCode()); $this->assertInternalType('array', $object->toArray()); $this->assertEmpty($object->toArray()); }