@Test
public void testGetLocalDateForUTCDate(){

        Date dt = new Date();
        Calendar local=Calendar.getInstance();
    int offset = local.getTimeZone().getOffset(local.getTimeInMillis());
    GregorianCalendar utc = new GregorianCalendar(gmtTimeZone);
    utc.setTimeInMillis(dt.getTime());
    utc.add(Calendar.MILLISECOND, offset);
    Date expectedDate = utc.getTime();
        Date actualDate = dateUtil.getLocalDateForUTCDate(dt);
        Assert.assertEquals(actualDate.getDate(),expectedDate.getDate());
        Assert.assertEquals(actualDate.getMinutes(),expectedDate.getMinutes());
        Assert.assertEquals(actualDate.getHours(),expectedDate.getHours());
}