assertEquals(expected, result);
}
@Test
public void typedObjectFromLongAndVarint() throws CObjectParseException {
CField field = new CField("test", "varint");
Long jsonValue = 1234567890123456789L;
BigInteger expected = new BigInteger("1234567890123456789");
Object result = JsonUtil.typedObjectFromValueAndField(jsonValue, field);
assertEquals(expected, result);