### Question:
BigIntegerToStringConverterFactory implements TypeConverterFactory<BigInteger, String> { @Override public TypeConverter<BigInteger, String> createTypeConverter() { return new NumberToStringConverter<>(); }  @Override TypeConverter<BigInteger, String> createTypeConverter(); @Override TypeConverterDescriptor<Class<BigInteger>, Class<String>> getTypeConverterDescriptor();  }### Answer:
@Test public void test_encode_format_config() { BigIntegerToStringConverterFactory bigIntegerToStringConverterFactory = new BigIntegerToStringConverterFactory(); Properties config = new Properties(); config.setProperty(NumberTypeConverter.FORMAT, "#,###.##"); TypeConverter<BigInteger, String> typeConverter = bigIntegerToStringConverterFactory.createTypeConverter(); ((Configurable) typeConverter).setConfiguration(config); assertEquals("1,234", typeConverter.convert(new BigInteger("1234"))); }
@Test public void test_encode_locale_config() { BigIntegerToStringConverterFactory bigIntegerToStringConverterFactory = new BigIntegerToStringConverterFactory(); Properties config = new Properties(); config.setProperty(NumberTypeConverter.LOCALE, "de-DE"); TypeConverter<BigInteger, String> typeConverter = bigIntegerToStringConverterFactory.createTypeConverter(); ((Configurable) typeConverter).setConfiguration(config); assertEquals("1234", typeConverter.convert(new BigInteger("1234"))); }