@Test
public void testGetCurrentAsString() {

    Date date = new Date();
    String dateAsString = DateUtil.getCurrentAsString();
    DateFormat dateFormat = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US);
    dateFormat.setTimeZone(TimeZone.getTimeZone("GMT"));
    String testConvertedDate = dateFormat.format(date);
    Assert.assertEquals(testConvertedDate, dateAsString);
}