@Test
public void validatePermisionTest() throws SQLException {

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