Document<Entry> document = abderaParser.parse( post.getResponseBodyAsStream() );
Entry entry = document.getRoot();
String title = entry.getTitle();
// System.out.println( "mediaPost entry.title=" + title );
Assert.assertNotNull( title );
IRI id = entry.getId();
// System.out.println( "mediaPost entry.id=" + id );
Assert.assertNotNull( id );
mediaId = id.toString();
Assert.assertNotNull( mediaId ); // Save for put/update request
Date updated = entry.getUpdated();
// System.out.println( "mediaPost entry.updated=" + updated);
Assert.assertNotNull( updated );
String summary = entry.getSummary();
// System.out.println( "mediaPost entry.summary=" + summary);
Assert.assertNotNull( summary );
IRI contentSrc = entry.getContentSrc();
// System.out.println( "mediaPost entry.content.src=" + contentSrc + ", type=" + entry.getContentType());
Assert.assertNotNull( contentSrc );
Link editLink = entry.getEditLink();
// System.out.println( "mediaPost entry.editLink" + " rel=" + editLink.getRel() + ", href=" + editLink.getHref() );
Assert.assertNotNull( editLink );