public function testModel()
 {
     $model = new TestModel();
     $model->mapTypes(array('name' => 'asdf', 'gender' => 'z'));
     $this->assertEquals('asdf', $model->name);
     $this->assertEquals('z', $model->gender);
     $model->mapTypes(array('__infoType' => 'Google_Model', '__infoDataType' => 'map', 'info' => array('location' => 'mars', 'timezone' => 'mst'), 'name' => 'asdf', 'gender' => 'z'));
     $this->assertEquals('asdf', $model->name);
     $this->assertEquals('z', $model->gender);
     $this->assertEquals(false, $model->isAssociativeArray(""));
     $this->assertEquals(false, $model->isAssociativeArray(false));
     $this->assertEquals(false, $model->isAssociativeArray(null));
     $this->assertEquals(false, $model->isAssociativeArray(array()));
     $this->assertEquals(false, $model->isAssociativeArray(array(1, 2)));
     $this->assertEquals(false, $model->isAssociativeArray(array(1 => 2)));
     $this->assertEquals(true, $model->isAssociativeArray(array('test' => 'a')));
     $this->assertEquals(true, $model->isAssociativeArray(array("a", "b" => 2)));
 }