assertEquals("Format not set correctly", Format.TIME, query.getFormat());
assertEquals("Start time not set correctly", 0, query.getStart());
assertEquals("End time not set correctly", end.toNanos(), query.getEnd());
}
@Test public void seekingQuery() {
SeekingQuery query = new SeekingQuery(Format.TIME);
ClockTime start = ClockTime.ZERO;
ClockTime end = ClockTime.fromMillis(1000);
query.setSeeking(Format.TIME, true, start.toNanos(), end.toNanos());
assertEquals("Format not set", Format.TIME, query.getFormat());
assertEquals("Start time not set", start.toNanos(), query.getStart());
assertEquals("End time not set", end.toNanos(), query.getEnd());
}