@Test
	public void testTimeToMs() {
		int day = 3;
		int hour = 1;
		int min = 1;
		int second = 1;

		long duration = DateUtils.timeToMs(day, hour, min, second);
		long expected = 1000L * ((((day * 24) + hour) * 60 + min) * 60 + second);
		assertThat(duration, is(expected));

		day = 30;
		hour = 10;
		min = 10;
		second = 10;

		duration = DateUtils.timeToMs(day, hour, min, second);
		expected = 1000L * ((((day * 24) + hour) * 60 + min) * 60 + second);
		assertThat(duration, is(expected));

	}
Test method for {@link DateUtils#ms2Time(long)}.
ngrinder-core/src/test/java/org/ngrinder/common/util/DateUtilsTest.java