public static Application getDefaultEditor() {
        final Application application = finder.getDescription(
                preferences.getProperty("editor.bundleIdentifier"));
        if(finder.isInstalled(application)) {
            return application;
        }
        return Application.notfound;
    }
@Test
    public void testGetDefaultEditor() {
        assertSame(Application.notfound, EditorFactory.getDefaultEditor());
    }