@Test
public void validatePermisionTest() throws SQLException {

    LoginUser user = LoginUser.builder().id(1L).build();
    DatabaseSet dbset = DatabaseSet.builder().name("name").build();
    Errors errors = new BeanPropertyBindingResult(dbset, "dbset", true, 256);
    Assert.assertTrue(databaseSetService.validatePermision(user, errors).validate().isValid());
}