@Test
public void validatePermisionTest() throws SQLException {

    LoginUser user = LoginUser.builder().id(1L).build();
    DataBaseInfo dalGroupDB = DataBaseInfo.builder().dbname("name").build();
    Errors errors = new BeanPropertyBindingResult(dalGroupDB, "dalGroupDB", true, 256);
    Assert.assertTrue(groupDatabaseService.validatePermision(user, errors).validate().isValid());
}