@Test
public void recuperarPorLoginTest() throws Exception {

    usuarioRepository.save(createUser());
    this.mockMvc.perform(get("/usuarios/diego"))
            .andExpect(status().isOk())
            .andExpect(jsonPath("$.id").exists())
            .andExpect(jsonPath("$.login").value("diego"))
            .andExpect(jsonPath("$.email").value("diego.pessoa@ifpb.edu.br"))
            .andExpect(jsonPath("$.cpf").value("627.380.950-03"))
            .andExpect(jsonPath("$.idade").value(31))
            .andExpect(jsonPath("$.nome").value("Diego Pessoa"))
            .andReturn();
}