@Test public void testUnknownStaysUnchanged() { assertEquals("barz", CfCompliantUnitMapper.tryFindUnitString("barz")); }
public static String tryFindUnitString(String unit) { if (unitMap.containsKey(unit)) { return unitMap.get(unit); } return unit; }
CfCompliantUnitMapper { public static String tryFindUnitString(String unit) { if (unitMap.containsKey(unit)) { return unitMap.get(unit); } return unit; } }
CfCompliantUnitMapper { public static String tryFindUnitString(String unit) { if (unitMap.containsKey(unit)) { return unitMap.get(unit); } return unit; } private  CfCompliantUnitMapper(); }
CfCompliantUnitMapper { public static String tryFindUnitString(String unit) { if (unitMap.containsKey(unit)) { return unitMap.get(unit); } return unit; } private  CfCompliantUnitMapper(); static String tryFindUnitString(String unit); }
CfCompliantUnitMapper { public static String tryFindUnitString(String unit) { if (unitMap.containsKey(unit)) { return unitMap.get(unit); } return unit; } private  CfCompliantUnitMapper(); static String tryFindUnitString(String unit);  }