@Override
    public boolean unregister(final Application application) {
        if(!ServiceManagementFunctions.library.SMLoginItemSetEnabled(application.getIdentifier(), false)) {
            log.warn(String.format("Failed to remove %s as login item", application));
            return false;
        }
        return true;
    }
@Test
    public void testUnregister() {
        assertFalse(new ServiceManagementApplicationLoginRegistry().unregister(
                new Application("bundle.helper")));
    }