PermissionService { public boolean isManagerById(Long id) throws SQLException { return isSuperManagerById(id) || isNormalSuperManagerById(id); }  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 isManagerByIdTest() throws Exception { Assert.assertTrue(permissionService.isManagerById(1L)); }