class OContentShareResource extends AbstractResource {

    public static CharSequence urlFor(ODocument document, String field, String contentType,  boolean fullUrl) {
    	return urlFor(getSharedResourceReference(), document, field, contentType, null, null, fullUrl);
    }

}

class OContentShareResourceTest {

    private static final Logger LOG;
    @Inject
    private WicketTester tester;
    private ODocument doc;

    @Test
    public void testRetrieveContent() {

        tester.executeUrl(OContentShareResource.urlFor(doc, "name", null, false).toString());
        MockHttpServletResponse response = tester.getLastResponse();
        assertEquals(response.getStatus(), HttpServletResponse.SC_OK);
    }

}