@Test
public void whenSearchUser() {

    User expected = this.createUser();
    UserDTO result = this.userService.search(PageRequest.of(0, 1), "tes").getContent().get(0);
    assertEquals(expected.getLogin(), result.getLogin());
}