PermissionService { public boolean isSuperManagerById(Long id) { if (null == id) { return false; } return id.equals(SUPERID); }  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 isSuperManagerByIdTest() { Assert.assertTrue(permissionService.isSuperManagerById(1L)); }