BlockEntryImpl block = UnitTestingSupport.block("block");
TripEntryImpl tripA = UnitTestingSupport.trip("tripA");
TripEntryImpl tripB = UnitTestingSupport.trip("tripB");
UnitTestingSupport.stopTime(0, null, tripA, 0, 0);
UnitTestingSupport.stopTime(0, null, tripB, 0, 0);
ServiceIdActivation serviceIds = UnitTestingSupport.serviceIds("sid");
BlockConfigurationEntry blockConfig = UnitTestingSupport.blockConfiguration(
block, serviceIds, tripA, tripB);
BlockInstance blockInstanceA = new BlockInstance(blockConfig, 123L);
BlockTripInstance blockTripInstance = BlockTripInstanceLibrary.getBlockTripInstance(