}
@Test
public void testCreate() {
final String QUERY = "insert into users (id, name, email, active) values (?, ?, ?, ?)";
final User user = new User();
user.setID(ID);
user.setName("Manuel");
user.setEmail("manuel.martin@gmail.com");
user.setActive(true);
when(this.jdbcTemplate.update(QUERY, user.getID(), user.getName(), user.getEmail(), user.isActive())).thenReturn(1);
assertTrue(this.usersService.create(user));
user.setID("other-ID");
assertFalse(this.usersService.create(user));
}