// 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 );
Assert.assertNotNull( editLink.getRel() );
Assert.assertNotNull( editLink.getHref() );
Link editMediaLink = entry.getEditMediaLink();
// System.out.println( "mediaPost entry.editMediaLink" + " rel=" + editMediaLink.getRel() + ", href=" + editMediaLink.getHref() );
Assert.assertNotNull( editMediaLink );
Assert.assertNotNull( editMediaLink.getRel() );
Assert.assertNotNull( editMediaLink.getHref() );
} finally {
// Release current connection to the connection pool once you are done
post.releaseConnection();
}