@Test
public void testGetSnapshot() throws Exception {

  URI mpURI = LiveScheduleServiceImplTest.class.getResource("/assetmanager-mp.xml").toURI();
  MediaPackage mp = MediaPackageBuilderFactory.newInstance().newMediaPackageBuilder()
          .loadFromXml(mpURI.toURL().openStream());
  setUpAssetManager(mp);
  replayServices();
  Snapshot s = service.getSnapshot(MP_ID);
  Assert.assertNotNull(s);
  MediaPackage mp1 = s.getMediaPackage();
  Assert.assertNotNull(mp1);
  Assert.assertEquals(MP_ID, mp1.getIdentifier().toString());
  Assert.assertEquals("Live Test", mp1.getTitle());
  Assert.assertEquals("2017-10-12T18:10:59Z", DateTimeSupport.toUTC(mp1.getDate().getTime()));
  Assert.assertEquals("20170119999", mp1.getSeries());
  Assert.assertEquals("Test Fall 2017", mp1.getSeriesTitle());
}