### Question:
OSMTurnRelationParser implements TurnCostParser { @Override public void handleTurnRelationTags(IntsRef turnCostFlags, OSMTurnRelation turnRelation, ExternalInternalMap map, Graph graph) { if (!turnRelation.isVehicleTypeConcernedByTurnRestriction(restrictions)) return; addRelationToTCStorage(turnRelation, turnCostFlags, map, graph); } OSMTurnRelationParser(String name, int maxTurnCosts);  OSMTurnRelationParser(String name, int maxTurnCosts, Collection<String> restrictions); @Override void createTurnCostEncodedValues(EncodedValueLookup lookup, List<EncodedValue> registerNewEncodedValue); @Override void handleTurnRelationTags(IntsRef turnCostFlags, OSMTurnRelation turnRelation, ExternalInternalMap map, Graph graph); @Override String getName(); @Override String toString();  }### Answer:
@Test public void unknownShouldBehaveLikeMotorVehicle() { OSMTurnRelationParser parser = new OSMTurnRelationParser("fatcarsomething", 1); OSMTurnRelation turnRelation = new OSMTurnRelation(4, 3, 3, OSMTurnRelation.Type.NOT); turnRelation.setVehicleTypeRestricted("space"); parser.handleTurnRelationTags(TurnCost.createFlags(), turnRelation, null, null); }