SubZero { public static Config useForClasses(Config config, Class<?>...classes) { return useForClassesInternal(config, classes); } private  SubZero(); static Config useAsGlobalSerializer(Config config); static Config useAsGlobalSerializer(Config config, Class<? extends AbstractGlobalUserSerializer> serializerClazz); static T useAsGlobalSerializer(T config); static T useAsGlobalSerializer(T config, Class<? extends AbstractGlobalUserSerializer> serializerClazz); static Config useForClasses(Config config, Class<?>...classes); static T useForClasses(T config, Class<?>...classes);  }
@Test public void useForClasses() { Config config = new Config(); SubZero.useForClasses(config, String.class); Collection<SerializerConfig> serializerConfigs = config.getSerializationConfig().getSerializerConfigs(); assertThat(serializerConfigs) .extracting("typeClass") .contains(String.class); }