@Test
public void addABookmarkFailsBecauseDescriptionIsNull() throws Exception {

    Bookmark value = new Bookmark(null, "http://packtpub.com");
    mvc.perform(
            post("/bookmarks")
                    .contentType(MediaType.APPLICATION_JSON_UTF8)
                    .content(mapper.writeValueAsString(value))
                    .with(csrf())
    ).andDo(print())
            .andExpect(status().isBadRequest())
            .andExpect(jsonPath("$[0].field").value("description"));
    Mockito.verify(bookmarkService, never()).addBookmark(Mockito.any(Bookmark.class));
}