@Test
    public void getByIdTest() throws Exception {
        mockMvc.perform(get("/getById.json?id=3"))
                .andExpect(status().isOk())
                .andExpect(view().name("jsonView")).andExpect(model().size(1));
    }