@Test public void testLoadMaps() { final WorldMapDAO dao = mock(WorldMapDAO.class); final CityDAO cityDao = mock(CityDAO.class); final AreaService areaService = mock(AreaService.class); final MapService service = new MapServiceImpl(dao, cityDao, areaService); service.loadMaps(); }
@Override public void loadMaps() { maps = mapsDAO.retrieveAll(); }
MapServiceImpl extends ActionExecutor<MapService> implements MapService { @Override public void loadMaps() { maps = mapsDAO.retrieveAll(); } }
MapServiceImpl extends ActionExecutor<MapService> implements MapService { @Override public void loadMaps() { maps = mapsDAO.retrieveAll(); } @Inject  MapServiceImpl(final WorldMapDAO mapsDAO, final CityDAO citiesDAO, final AreaService areaService); }
MapServiceImpl extends ActionExecutor<MapService> implements MapService { @Override public void loadMaps() { maps = mapsDAO.retrieveAll(); } @Inject  MapServiceImpl(final WorldMapDAO mapsDAO, final CityDAO citiesDAO, final AreaService areaService); @Override void loadMaps(); @Override WorldMap getMap(final int id); @Override void loadCities(); @Override City getCity(final byte id); @Override void putCharacterAtPos(final Character chara, final Position pos); @Override void moveCharacterTo(final Character character, final Heading heading); }
MapServiceImpl extends ActionExecutor<MapService> implements MapService { @Override public void loadMaps() { maps = mapsDAO.retrieveAll(); } @Inject  MapServiceImpl(final WorldMapDAO mapsDAO, final CityDAO citiesDAO, final AreaService areaService); @Override void loadMaps(); @Override WorldMap getMap(final int id); @Override void loadCities(); @Override City getCity(final byte id); @Override void putCharacterAtPos(final Character chara, final Position pos); @Override void moveCharacterTo(final Character character, final Heading heading);  }