public static void register(ApplicationId appId) {
        SecurityAdminService service = getSecurityService();
        if (service != null) {
            service.register(appId);
        }
    }
@Test
    public void testRegister() {
        service.register(appId);
    }