@Test
public void testHandleWayTags()
{

    OSMWay way = new OSMWay(1);
    way.setTag("highway", "service");
    long flags = encoder.acceptWay(way);
    assertTrue(flags > 0);
    long result = encoder.handleWayTags(way, flags, 0);
    assertEquals(20, encoder.getSpeed(result), .1);
    assertEquals(20, encoder.getReverseSpeed(result), .1);
}