### Question:
Location2IDFullIndex implements LocationIndex { @Override public LocationIndex create(long size) { return this; } Location2IDFullIndex(Graph g); @Override boolean loadExisting(); @Override LocationIndex setApproximation(boolean approxDist); @Override LocationIndex setResolution(int resolution); @Override LocationIndex prepareIndex(); @Override QueryResult findClosest(double queryLat, double queryLon, EdgeFilter edgeFilter); @Override void query(BBox queryBBox, Visitor function); @Override LocationIndex create(long size); @Override void flush(); @Override void close(); @Override boolean isClosed(); @Override long getCapacity(); @Override void setSegmentSize(int bytes);  }### Answer:
@Test public void testFullIndex() { LocationIndex tmpIdx = new Location2IDFullIndex(createSampleGraph(EncodingManager.create("car"))); assertEquals(5, findID(tmpIdx, 2, 3)); assertEquals(10, findID(tmpIdx, 4, 1)); assertEquals(10, findID(tmpIdx, 3.6, 1.4)); }