TripEntryImpl tripB = trip("B", "serviceId", 1000.0);
tripA.setShapeId(aid("shapeA"));
tripB.setShapeId(aid("shapeB"));
ShapePointsFactory m = new ShapePointsFactory();
m.setShapeId(aid("shapeA"));
m.addPoint(47.670170374084805, -122.3875880241394);
m.addPoint(47.66871094987642, -122.38756656646729);
m.addPoint(47.66862425012441, -122.38610744476318);
m.addPoint(47.66869649992775, -122.38439083099365);
m.addPoint(47.664852671516094, -122.3800778388977);
m.addPoint(47.664467962697906, -122.37945087847474);
Mockito.when(_shapePointService.getShapePointsForShapeId(aid("shapeA"))).thenReturn(
m.create());
m = new ShapePointsFactory();
m.setShapeId(aid("shapeB"));
m.addPoint(47.664467962697906, -122.37945087847474);
m.addPoint(47.663667674849385, -122.37814664840698);
m.addPoint(47.663667674849385, -122.37355470657349);
Mockito.when(_shapePointService.getShapePointsForShapeId(aid("shapeB"))).thenReturn(
m.create());
_stopA = stop("stopA", 47.66868114116101, -122.3870648978625);
_stopB = stop("stopB", 47.66583195331816, -122.38117664826683);
_stopC = stop("stopC", 47.663667674849385, -122.37724035677341);