VersionSchema { String getCanonicalSuffix(String suffix) { Suffix suffixObject = suffixMap.getSuffix(suffix); return suffixObject.canonicalString(); } private  VersionSchema(SuffixMap suffixMap);   }
@Test public void testCanonicalSuffix() { VersionSchema schema = createTestSchema(); assertEquals(schema.getCanonicalSuffix("beta"), schema.getCanonicalSuffix("Beta")); assertEquals(schema.getCanonicalSuffix("b"), schema.getCanonicalSuffix("Beta")); }