@Test
public void testGetDateTimeFromParameter() {

    DateTimeZone dtZone = DateTimeZone.forID(new ChatAlyticsConfig().timeZone);
    DateTime dateTime = DateTimeUtils.getDateTimeFromParameter("2015-01-01", dtZone);
    DateTime expectedDateTime =
        new DateTime(2015, 1, 1, 0, 0, dtZone).toDateTime(DateTimeZone.UTC);
    assertEquals(expectedDateTime, dateTime);
}