function testExecuteQueryForMap()
{
$map = $this->sqlmap->QueryForMapWithRowDelegate("GetAllAccountsViaResultClass", array($this, 'mapHandler'), null, "FirstName");
$this->assertSame(5, count($map));
$this->assertAccount1($map["Joe"]);
$this->assertSame(1, $map["Joe"]->getID());
$this->assertSame(2, $map["Averel"]->getID());
$this->assertSame(3, $map["William"]->getID());
$this->assertSame(4, $map["Jack"]->getID());
$this->assertSame(5, $map["Gilles"]->getID());
}