@Test
public void testRetrieveNotExistsContent() {

    tester.executeUrl(OContentShareResource.urlFor(doc, "notFound", "text/plain", false).toString());
    MockHttpServletResponse response = tester.getLastResponse();
    assertEquals(response.getStatus(), HttpServletResponse.SC_NOT_FOUND);
}