@Test
public void givenJsonOfBigIntegerCollectionWithQuotesWhenDeserializingExpectCorrectValueOutput()
throws Exception
{
ValueType collectedType = new ValueType( BigInteger.class );
CollectionType collectionType = new CollectionType( Collection.class, collectedType );
Object json = new JSONArray( bigIntegerJsonWithQuotes() );
List<BigDecimal> result = (List<BigDecimal>) new JSONDeserializer( null ).deserialize( json, collectionType );
assertEquals( bigIntegerCollection(), result );
}