source: class LocationIndexTreeTest  {
  
      protected final EncodingManager encodingManager;
  
      @Test
      public void testMoreReal()
      {
  
target:         Graph graph = createGHStorage(new EncodingManager("CAR"));
          NodeAccess na = graph.getNodeAccess();
          na.setNode(1, 51.2492152, 9.4317166);
          na.setNode(0, 52, 9);
          na.setNode(2, 51.2, 9.4);
          na.setNode(3, 49, 10);
  
          graph.edge(1, 0, 1000, true);
          graph.edge(0, 2, 1000, true);
          graph.edge(0, 3, 1000, true).setWayGeometry(Helper.createPointList(51.21, 9.43));
          LocationIndex index = createIndex(graph, -1);
          assertEquals(2, index.findID(51.2, 9.4));
      }
  
  }