@Test
public void testRemoveLivePublicationChannel() throws Exception {

  URI mpURI = LiveScheduleServiceImplTest.class.getResource("/assetmanager-mp-with-live.xml").toURI();
  MediaPackage mp = MediaPackageBuilderFactory.newInstance().newMediaPackageBuilder()
          .loadFromXml(mpURI.toURL().openStream());
  replayServices();
  service.removeLivePublicationChannel(mp);
  Publication[] publications = mp.getPublications();
  Assert.assertEquals(0, publications.length);
}