SerializerFactory { public static Byte getCodeByAlias(String serializer) { return TYPE_CODE_MAP.get(serializer); }  static Serializer getSerializer(String alias); static Serializer getSerializer(byte type); static Byte getCodeByAlias(String serializer); static String getAliasByCode(byte code);  }
@Test public void getCodeByAlias() { Assert.assertTrue(SerializerFactory.getCodeByAlias("test") == 117); }