### Question:
Time extends TimeBase<Time> { @Override public Time add(Time t) { return new Time(this.toSec() + t.toSec()); } Time();  Time(int secs, int nsecs);  Time(double sec);  Time(long nano); @Override Time add(Time t); @Override Time subtract(Time t); boolean isValid(); Date toDate(); static boolean sleepUntil(Time t); @Override Time clone(); static Time now(); static Time fromSec(double sec); static Time fromNano(long nano); static Time fromDate(Date date); static Time fromJsonString(String jsonString); static Time fromJsonObject(JsonObject jsonObject); static final String TYPE; }### Answer:
@Test public void testAdd() { assertEquals(new Time(10000001044l), t2.add(t3)); assertEquals(t1, empty.add(t1)); assertEquals(t2, empty.add(t2)); assertEquals(t3, empty.add(t3)); }