@Test
public void validatePermision() throws SQLException {

    ValidatorChain chain = new ValidatorChain();
    LoginUser user = LoginUser.builder().id(1L).build();
    Project project = Project.builder().id(1L).name("name").build();
    Errors errors = new BeanPropertyBindingResult(project, "project", true, 256);
    Assert.assertTrue(projectService.validatePermision(user, project, errors).validate().isValid());
}