### Question:
DateUtil { public static Date addMinutes(int minutes) { return new Date(System.currentTimeMillis() + minutes * MILLIS_TO_MINUTES); } private  DateUtil(); static Long toLong(Date date); static Date toDate(Long date); static Date addMinutes(int minutes); static long midnightUtc(Calendar cal); static long tomorrowMidnightUtc(); static long todayMidnightUtc(); static final int MILLIS_TO_MINUTES; }### Answer:
@Test public void testAddMinutes() { long testStartMillis = new Date().getTime(); long actualTime = DateUtil.addMinutes(ADD_MINUTES).getTime(); long expectedTime = testStartMillis + (ADD_MINUTES * MILLIS_TO_MINUTES); assertTrue("Added time amount is not great enough", actualTime >= expectedTime); }