@Test
public void validatePermisionTest() throws SQLException {

    LoginUser user = LoginUser.builder().id(1L).build();
    ServerConfig serverConfig = ServerConfig.builder().id(1L).build();
    Errors errors = new BeanPropertyBindingResult(serverConfig, "serverConfig", true, 256);
    Assert.assertTrue(serverGroupService.validatePermision(user, errors).validate().isValid());
}