@Test
public void testAddMediaPackageAttachment() throws Exception {

  Response response = restService.addMediaPackageAttachment("http://foo/cover.png", "image/cover",
          MediaPackageParser.getAsXml(((MediaPackage) restService.createMediaPackage().getEntity())));
  Assert.assertEquals(Status.OK.getStatusCode(), response.getStatus());
}