@Test
public void testEnrichmentEmptyContainer() throws Exception {

  final URI trackUri = getResource("/nostreams.mp4");
  for (MediaInspector mi : init(trackUri)) {
    Track track = mi.inspectTrack(trackUri, Options.NO_OPTION);
    // make changes to metadata
    Checksum cs = track.getChecksum();
    track.setChecksum(null);
    MimeType mt = mimeType("video", "flash");
    track.setMimeType(mt);
    // test the enrich scenario
    Track newTrack = (Track) mi.enrich(track, false, Options.NO_OPTION);
    assertEquals(newTrack.getChecksum(), cs);
    assertEquals(newTrack.getMimeType(), mt);
    assertNull(newTrack.getDuration());
    // test the override scenario
    newTrack = (Track) mi.enrich(track, true, Options.NO_OPTION);
    assertEquals(newTrack.getChecksum(), cs);
    assertNotSame(newTrack.getMimeType(), mt);
    assertNull(newTrack.getDuration());
  }
}