@Test
public void toStringTest() {

    String fromStr = "01:23:45";
    String toStr = "12:13:14";
    Time fromTime = null;
    Time toTime = null;
    fromTime = Time.valueOf(fromStr);
    toTime = Time.valueOf(toStr);
    Time[] range = {fromTime, toTime};
    TeradataTimePeriod tdp = new TeradataTimePeriod(range);
    assertEquals("Time periods toString does return expected value", fromTime.toString() + "," + toTime.toString(), tdp.toString());
}