### Question:
FastIsochroneFactory { public void init(CmdArgs args) { setMaxThreadCount(args.getInt(FastIsochrone.PREPARE + "threads", getMaxThreadCount())); setMaxCellNodesNumber(args.getInt(FastIsochrone.PREPARE + "maxcellnodes", getMaxCellNodesNumber())); String weightingsStr = args.get(FastIsochrone.PREPARE + "weightings", ""); if ("no".equals(weightingsStr)) { fastisochroneProfileStrings.clear(); } else if (!weightingsStr.isEmpty()) { setFastIsochroneProfilesAsStrings(Arrays.asList(weightingsStr.split(","))); } boolean enableThis = !fastisochroneProfileStrings.isEmpty(); setEnabled(enableThis); if (enableThis) { setDisablingAllowed(args.getBool(FastIsochrone.INIT_DISABLING_ALLOWED, isDisablingAllowed())); IsochronesServiceSettings.setFastIsochronesActive(args.get(FastIsochrone.PROFILE, "")); } }  void init(CmdArgs args); FastIsochroneFactory setFastIsochroneProfilesAsStrings(List<String> profileStrings); Set<String> getFastisochroneProfileStrings(); FastIsochroneFactory addFastIsochroneProfileAsString(String profileString); final boolean isEnabled(); final FastIsochroneFactory setEnabled(boolean enabled); final boolean isDisablingAllowed(); final FastIsochroneFactory setDisablingAllowed(boolean disablingAllowed); FastIsochroneFactory setPartition(PreparePartition pp); PreparePartition getPartition(); void prepare(final StorableProperties properties); void createPreparation(GraphHopperStorage ghStorage, EdgeFilterSequence edgeFilters); void setExistingStorages(); IsochroneNodeStorage getIsochroneNodeStorage(); void setIsochroneNodeStorage(IsochroneNodeStorage isochroneNodeStorage); CellStorage getCellStorage(); void setCellStorage(CellStorage cellStorage);  }### Answer:
@Test public void testInit() { FastIsochroneFactory fastIsochroneFactory = intitFastIsochroneFactory(); assertTrue(fastIsochroneFactory.isEnabled()); assertTrue(fastIsochroneFactory.isDisablingAllowed()); assertEquals("fastest", fastIsochroneFactory.getFastisochroneProfileStrings().iterator().next()); }