GroupService { public boolean addDalGroup(LoginUser user, DasGroup group) throws SQLException { group.setUpdate_user_no(user.getUserNo()); if (groupDao.insertDasGroup(group) <= 0) { return false; } return true; }  ValidatorChain validatePermision(LoginUser user, Errors errors); boolean addDalGroup(LoginUser user, DasGroup group); boolean updateDalGroup(LoginUser user, DasGroup group); boolean isInSuperGroup(String userNo); boolean isInCurrentGroup(Long userId, int currentGroupId); ListResult<DalGroupView> findGroupPageList(Paging<DasGroup> paging); boolean isNotExistByName(DasGroup group); boolean isNotExistInProjectAndGroup(String name); int initAdminGroup();  }
@Test public void addDalGroupTest() throws Exception { LoginUser user = LoginUser.builder().id(1L).build(); DasGroup group = DasGroup.builder().group_name("name").build(); Assert.assertTrue(groupService.addDalGroup(user, group)); }