### Question:
EncodingManager { static String fixWayName( String str ) { if (str == null) return ""; return str.replaceAll(";[ ]*", ", "); } EncodingManager( String flagEncodersStr );  EncodingManager( String flagEncodersStr, int bytesForFlags );  EncodingManager( FlagEncoder... flagEncoders );  EncodingManager( List<? extends FlagEncoder> flagEncoders );  EncodingManager( List<? extends FlagEncoder> flagEncoders, int bytesForEdgeFlags ); int getBytesForFlags(); boolean supports( String encoder ); FlagEncoder getEncoder( String name ); long acceptWay( OSMWay way ); long handleRelationTags( OSMRelation relation, long oldRelationFlags ); long handleWayTags( OSMWay way, long includeWay, long relationFlags ); @Override String toString(); String toDetailsString(); long flagsDefault( boolean forward, boolean backward ); long reverseFlags( long flags ); @Override int hashCode(); @Override boolean equals( Object obj ); long handleNodeTags( OSMNode node ); EncodingManager setEnableInstructions( boolean enableInstructions ); void applyWayTags( OSMWay way, EdgeIteratorState edge ); List<FlagEncoder> fetchEdgeEncoders(); boolean needsTurnCostsSupport(); static EncodingManager create( String ghLoc ); static final String CAR; static final String BIKE; static final String BIKE2; static final String RACINGBIKE; static final String MOUNTAINBIKE; static final String FOOT; static final String MOTORCYCLE; }### Answer:
@Test public void testFixWayName() { assertEquals("B8, B12", EncodingManager.fixWayName("B8;B12")); assertEquals("B8, B12", EncodingManager.fixWayName("B8; B12")); }