@Test
public void testGetMediaPackageFromSearchNotFound() throws Exception {

  URI searchResultURI = LiveScheduleServiceImplTest.class.getResource("/search-result-empty.xml").toURI();
  SearchResult searchResult = SearchResultImpl.valueOf(searchResultURI.toURL().openStream());
  EasyMock.expect(searchService.getByQuery((SearchQuery) EasyMock.anyObject())).andReturn(searchResult);
  replayServices();
  MediaPackage mp = service.getMediaPackageFromSearch(MP_ID);
  Assert.assertNull(mp);
}