@Test
public void testAddLivePublicationChannel() throws Exception {

  URI mpURI = LiveScheduleServiceImplTest.class.getResource("/assetmanager-mp.xml").toURI();
  MediaPackage mp = MediaPackageBuilderFactory.newInstance().newMediaPackageBuilder()
          .loadFromXml(mpURI.toURL().openStream());
  replayServices();
  service.addLivePublicationChannel(org, mp, new HashMap<String, Track>());
  Publication[] publications = mp.getPublications();
  Assert.assertEquals(1, publications.length);
  Assert.assertEquals(LiveScheduleService.CHANNEL_ID, publications[0].getChannel());
  Assert.assertEquals("text/html", publications[0].getMimeType().toString());
  Assert.assertEquals(ENGAGE_URL + "/play/" + MP_ID, publications[0].getURI().toString());
}