assertEquals(expected, result);
}
@Test
public void typedObjectFromDateAndVarchar() throws CObjectParseException {
CField field = new CField("test", "varchar");
Date jsonValue = new Date(1376079901000L);
String expected = jsonValue.toString();
Object result = JsonUtil.typedObjectFromValueAndField(jsonValue, field);
assertEquals(expected, result.toString());