    @Test
    public void userByFullname() throws Exception {

        mockMvc.perform(get("/user?fullname={fullname}", "Samed Düzçay"))
               .andExpect(status().isOk())
               .andExpect(
                   content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE))
               .andExpect(jsonPath("$.username", is("samed")))
               .andExpect(jsonPath("$.fullname", is("Samed Düzçay")))
               .andExpect(jsonPath("$.email", is("smddzcy@gmail.com")));

        verify(repo, times(1)).findByFullname("Samed Düzçay");
        verifyNoMoreInteractions(repo);
    }