예제 #1
0
 /**
  *
  */
 public function testGetMethod()
 {
     $map = new HashMap();
     $map['foo'] = 'bar';
     $this->assertEquals('bar', $map->get('foo'));
     $this->assertEquals('default', $map->get('nonexists', 'default'));
 }