@Test
public void pathSupplier() {

  when(road.getPartitionPath()).thenReturn("$.a");
  Supplier<Path> supplier = OnrampImpl.pathSupplier(road);
  assertThat(supplier.get(), is(KeyPathParser.parse("$.a")));
}