MediaSegments { public List<MediaSegment> getMediaSegments() { return mediaSegments; } MediaSegments();  MediaSegments(String trackId, String filePath, List<MediaSegment> mediaSegments); List<MediaSegment> getMediaSegments(); String getTrackId(); String getFilePath(); String toXml(); static MediaSegments fromXml(String mediaSegmentsXml);  }
@Test public void testGetMediaSegments() { assertNotNull(mediaSegments); assertNotNull(mediaSegments.getMediaSegments()); assertTrue(mediaSegments.getMediaSegments().size() == 3); }