@Test
public void testSupportFords()
{

    // 1) no encoder crossing fords
    String flagEncodersStr = "car,bike,foot";
    EncodingManager manager = new EncodingManager(flagEncodersStr, 8);
    assertTrue(((AbstractFlagEncoder) manager.getEncoder("car")).isBlockFords());
    assertTrue(((AbstractFlagEncoder) manager.getEncoder("bike")).isBlockFords());
    assertTrue(((AbstractFlagEncoder) manager.getEncoder("foot")).isBlockFords());
    // 2) two encoders crossing fords
    flagEncodersStr = "car,bike|blockFords=false,foot|blockFords=false";
    manager = new EncodingManager(flagEncodersStr, 8);
    assertTrue(((AbstractFlagEncoder) manager.getEncoder("car")).isBlockFords());
    assertFalse(((AbstractFlagEncoder) manager.getEncoder("bike")).isBlockFords());
    assertFalse(((AbstractFlagEncoder) manager.getEncoder("foot")).isBlockFords());
    // 2) Try combined with another tag
    flagEncodersStr = "car|turnCosts=true|blockFords=true,bike,foot|blockFords=false";
    manager = new EncodingManager(flagEncodersStr, 8);
    assertTrue(((AbstractFlagEncoder) manager.getEncoder("car")).isBlockFords());
    assertTrue(((AbstractFlagEncoder) manager.getEncoder("bike")).isBlockFords());
    assertFalse(((AbstractFlagEncoder) manager.getEncoder("foot")).isBlockFords());
}