@Test
public void getIdNotExists() throws Exception {

  mockMvc
      .perform(get("/doc1"))
      .andExpect(status().isNotFound())
      .andExpect(content().contentType(APPLICATION_JSON_UTF8))
      .andExpect(jsonPath("$.message", is("Document 'doc1' was not found.")));
}