/** * Loads a map based on the set class name * * If there is no map in the container, then it will try to build * a map by reading the class. * */ protected function loadMap() { $this->_getMapFromContainer(); if ($this->_map->count() == 0) { $this->_buildMap(); $this->_saveMapToContainer(); } }
public function testCount() { $this->assertEquals(1, $this->map->count()); }