TransitStop stopvJ = graph.index.stopVertexForStop.get(stopJ);
TransitStop stopvL = graph.index.stopVertexForStop.get(stopL);
TransitStop stopvM = graph.index.stopVertexForStop.get(stopM);
// There are a two other stops within 100 meters of stop J.
Envelope env = new Envelope(new Coordinate(stopJ.getLon(), stopJ.getLat()));
env.expandBy(SphericalDistanceLibrary.metersToLonDegrees(100, stopJ.getLat()),
SphericalDistanceLibrary.metersToDegrees(100));
List<TransitStop> stops = graph.index.stopSpatialIndex.query(env);
assertTrue(stops.contains(stopvJ));
assertTrue(stops.contains(stopvL));
assertTrue(stops.contains(stopvM));