### Question:
CSSNumberHelper { @Nullable public static ECSSUnit getMatchingUnitExclPercentage (@Nonnull final String sCSSValue) { final ECSSUnit eUnit = getMatchingUnitInclPercentage (sCSSValue); return eUnit == null || eUnit == ECSSUnit.PERCENTAGE ? null : eUnit; } private  CSSNumberHelper(); @Nullable static ECSSUnit getMatchingUnitInclPercentage(@Nonnull final String sCSSValue); @Nullable static ECSSUnit getMatchingUnitExclPercentage(@Nonnull final String sCSSValue); static boolean isNumberValue(@Nullable final String sCSSValue); static boolean isValueWithUnit(@Nullable final String sCSSValue); static boolean isValueWithUnit(@Nullable final String sCSSValue, final boolean bWithPerc); @Nullable static CSSSimpleValueWithUnit getValueWithUnit(@Nullable final String sCSSValue); @Nullable static CSSSimpleValueWithUnit getValueWithUnit(@Nullable final String sCSSValue, final boolean bWithPerc);  }### Answer:
@Test public void testGetMatchingUnitExclPercentage () { for (final ECSSUnit eUnit : ECSSUnit.values ()) if (eUnit != ECSSUnit.PERCENTAGE) { String sText = eUnit.format (5); assertSame (sText, eUnit, CSSNumberHelper.getMatchingUnitExclPercentage (sText)); sText = eUnit.format (2.12345678); assertSame (sText, eUnit, CSSNumberHelper.getMatchingUnitExclPercentage (sText)); } }