### Question:
DateTimes { public static DateTime toDateTimeWithTimeZone(String dateTime) { return dateTimesHelper.toDateTimeWithTimeZone(dateTime); } private  DateTimes(); static DateTime toDateTime(Calendar calendar); static DateTime toDateTime(Instant instant, String timeZoneId); static DateTime toDateTime(org.joda.time.DateTime dateTime); static DateTime toDateTime(String dateTime, String timeZoneId); static DateTime toDateTimeWithTimeZone(String dateTime); static org.joda.time.DateTime toDateTime(DateTime dateTime); static Calendar toCalendar(DateTime dateTime); static Calendar toCalendar(DateTime dateTime, Locale locale); static String toString(Date date); static String toString(DateTime dateTime); static String toStringWithTimeZone(DateTime dateTime); static String toStringForTimeZone(DateTime dateTime, String newZoneId);  }### Answer:
@Test public void testToDateTime_fromStringToApiDateTimeWithTimeZone() { assertEquals(apiDateTime1, DateTimes.toDateTimeWithTimeZone(stringDateTimeWithTimeZone1)); assertEquals(apiDateTime2, DateTimes.toDateTimeWithTimeZone(stringDateTimeWithTimeZone2)); assertEquals(apiDateTime3, DateTimes.toDateTimeWithTimeZone(stringDateTimeWithTimeZone3)); }