PermissionService { public boolean isNormalSuperManagerById(Long userId) throws SQLException { if (null == userId || isSuperManagerById(userId)) { return false; } return permissionDao.isNormalSuperManagerById(userId); }  boolean isSuperManagerById(Long id); boolean isSuperManagerByUserNo(String userNo); boolean isNormalSuperManagerById(Long userId); boolean isManagerById(Long id); boolean isGroupManagerById(Long groupId, Long userId); boolean isNormalManagerById(Long groupId, Long userId); boolean isProjectPermission(Long projectId, Long userId);  }
@Test public void isNormalSuperManagerByIdTest() throws Exception { Assert.assertTrue(permissionService.isNormalSuperManagerById(1L)); }