@Test
public void validatePermisionTest() throws Exception {

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