### Question:
UsersJdbcAuthzRepository extends AbstractJdbcRepository implements UsersAuthzRepository { @Override public int saveUsers(final Users users) { String sql = " insert into users(guid,create_time, username,password) values (?,?,?,?) "; this.jdbcTemplate.update(sql, new PreparedStatementSetter() { @Override public void setValues(PreparedStatement ps) throws SQLException { ps.setString(1, users.guid()); ps.setTimestamp(2, new Timestamp(users.createTime().getTime())); ps.setString(3, users.username()); ps.setString(4, users.password()); } }); return this.jdbcTemplate.queryForObject("select id from users where guid = ?", new Object[]{users.guid()}, Integer.class); }  @Override List<Users> findUsersByUsername(String username); @Override List<Roles> findAvailableRolesList(); @Override Users findByUsername(String username); @Override int saveUsers(final Users users); @Override Roles findRolesByGuid(String guid); @Override void insertUserRoles(final int userId, final int rolesId); @Override List<Roles> findUsersRolesList(String usersGuid); @Override List<String> findPermissionsByRoles(String rolesGuid);  }### Answer:
@Test public void saveUsers() throws Exception { final Users users = new Users().username("test").password("paeddsf").guid(GuidGenerator.generate()); final int id = usersJdbcRepository.saveUsers(users); assertTrue(id > 0); }