@Test
public void timeSet() throws InvocationTargetException, IllegalAccessException {

    Date date = new Date();
    long currentTime = date.getTime();
    Object oldVal = extractor.setObjectValue(null,date,"time",0L);
    assertEquals(oldVal,currentTime);
    assertEquals(date.getTime(),0L);
    oldVal = extractor.setObjectValue(null,date,"time","1000");
    assertEquals(oldVal,0L);
    assertEquals(date.getTime(),1000L);
}