CompressorFactory { public static byte getCodeByAlias(String compress) { return TYPE_CODE_MAP.get(compress); }  static Compressor getCompressor(String alias); static Compressor getCompressor(byte code); static byte getCodeByAlias(String compress);  }
@Test public void getCodeByAlias() throws Exception { Assert.assertEquals(CompressorFactory.getCodeByAlias("test"), (byte) 113); }