Gendreau06Parser { public Gendreau06Parser setTickSize(long tick) { checkArgument(tick > 0L, "Tick size must be positive."); tickSize = tick; return this; } private  Gendreau06Parser(); static Gendreau06Parser parser(); static Gendreau06Scenario parse(File file); static Function<Path, Gendreau06Scenario> reader(); Gendreau06Parser addFile(File file); Gendreau06Parser addFile(String file); Gendreau06Parser addFile(InputStream stream, String fileName); Gendreau06Parser addFile(ImmutableList<AddParcelEvent> events,
      String fileName); Gendreau06Parser addDirectory(String dir); Gendreau06Parser addDirectory(File dir); Gendreau06Parser allowDiversion(); Gendreau06Parser offline(); Gendreau06Parser realtime(); Gendreau06Parser setNumVehicles(int num); Gendreau06Parser setNumParcels(int num); Gendreau06Parser setTickSize(long tick); Gendreau06Parser filter(GendreauProblemClass... classes); ImmutableList<Gendreau06Scenario> parse(); Function<Path, Gendreau06Scenario> asParseFunction();  }
@Test public void setTickSizeTest() { final Gendreau06Scenario scen = parser().setTickSize(101).addFile(FILE_PATH) .parse().get(0); containsVehicles(scen, 10); containsTimeOut(scen, 240); assertTrue(isOnline(scen)); assertFalse(isDiversionAllowed(scen)); assertContainsTimeModel(scen, 101L, SI.MILLI(SI.SECOND)); }