MediaSegment { public long getSegmentStop() { return segmentStop; } MediaSegment();  MediaSegment(long segmentStart, long segmentStop); long getSegmentStart(); long getSegmentStop();  }
@Test public void testGetSegmentStop() { assertNotNull(segments); for (MediaSegment segment : segments) { assertNotNull(segment); if (segment.getSegmentStop() != 10 || segment.getSegmentStop() != 50 || segment.getSegmentStop() != 120) { fail("MediaSegment returned invalid stop position!"); } } }