/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. */ protected function setUp() { $this->map = new HashMap(); $this->map->put("First", 1); $entryList = $this->map->entryList(); $this->object = $entryList[0]; }