RoadModelBuilders { public static RoadModelBuilders.DynamicGraphRMB dynamicGraph( ListenableGraph<?> g) { return dynamicGraph(Suppliers.<ListenableGraph<?>>ofInstance(g)); } private  RoadModelBuilders(); static RoadModelBuilders.PlaneRMB plane(); static RoadModelBuilders.StaticGraphRMB staticGraph(Graph<?> graph); static RoadModelBuilders.StaticGraphRMB staticGraph(
      Supplier<? extends Graph<?>> graphSupplier); static RoadModelBuilders.DynamicGraphRMB dynamicGraph(
      ListenableGraph<?> g); static RoadModelBuilders.DynamicGraphRMB dynamicGraph(
      Supplier<? extends ListenableGraph<?>> g);  }
@Test @Ignore public void testCollisionGraphRMB() { final CollisionGraphRMB b = RoadModelBuilders .dynamicGraph(new ListenableGraph<>( new TableGraph<>())) .withCollisionAvoidance() .withVehicleLength(78d) .withMinDistance(3d); final double precision = 0.0000001; assertThat(b.getMinDistance()).isWithin(precision).of(3d); assertThat(b.getVehicleLength()).isWithin(precision).of(78d); final CollisionGraphRoadModel m = b.build(mock(DependencyProvider.class)); assertThat(m.getMinConnLength()).isWithin(precision) .of(b.getMinDistance()); assertThat(m.getVehicleLength()).isWithin(precision) .of(b.getVehicleLength()); }