@Test
public void testFordAccess()
{

    OSMNode node = new OSMNode(0, 0.0, 0.0);
    node.setTag("ford", "yes");
    OSMWay way = new OSMWay(1);
    way.setTag("highway", "unclassified");
    way.setTag("ford", "yes");
    // Node and way are initially blocking
    assertTrue(encoder.isBlockFords());
    assertFalse(encoder.acceptWay(way) > 0);
    assertTrue(encoder.handleNodeTags(node) > 0);
    try
    {
        // Now they are passable
        encoder.setBlockFords(false);
        assertTrue(encoder.acceptWay(way) > 0);
        assertFalse(encoder.handleNodeTags(node) > 0);
    } finally
    {
        encoder.setBlockFords(true);
    }
}