@Test
public void testAddMediaPackagePartialTrack() throws Exception {

  String mediaPackage = MediaPackageParser.getAsXml(((MediaPackage) restService.createMediaPackage().getEntity()));
  Response response = restService.addMediaPackagePartialTrack("http://foo/av.mov", "presenter/source+partial", 1000L,
          mediaPackage);
  Assert.assertEquals(Status.OK.getStatusCode(), response.getStatus());
  response = restService.addMediaPackagePartialTrack(newPartialMockRequest());
  Assert.assertEquals(Status.OK.getStatusCode(), response.getStatus());
}