public void fillMaxSpeed(Graph graph, EncodingManager em) {
        // In DefaultMaxSpeedParser and in OSMMaxSpeedParser we don't have the rural/urban info,
        // but now we have and can fill the country-dependent max_speed value where missing.
        EnumEncodedValue<UrbanDensity> udEnc = em.getEnumEncodedValue(UrbanDensity.KEY, UrbanDensity.class);
        fillMaxSpeed(graph, em, edge -> edge.get(udEnc) != UrbanDensity.RURAL);
    }
@Test
    public void testDifferentStates() {
        ReaderWay way = new ReaderWay(0L);
        way.setTag("country", Country.USA);
        way.setTag("highway", "primary");

        way.setTag("country_state", State.US_CA);
        EdgeIteratorState edge1 = createEdge(way);
        way.setTag("country_state", State.US_FL);
        EdgeIteratorState edge2 = createEdge(way);

        calc.fillMaxSpeed(graph, em);

        assertEquals(106, edge1.get(maxSpeedEnc));
        assertEquals(90, edge2.get(maxSpeedEnc));
    }