@Override
    protected void setDefaults() {
        super.setDefaults();

        this.setDefault("connection.ssl.keystore.type", "KeychainStore");
        this.setDefault("connection.ssl.keystore.provider", "Apple");

        this.setDefault("keychain.secure", String.valueOf(true));
    }
@Test
    public void setDefaults() {
        final ApplicationTerminalPreferences prefs = new ApplicationTerminalPreferences();
        prefs.load();
        prefs.setFactories();
        prefs.setDefaults();
        assertEquals("NativePRNG", prefs.getProperty("connection.ssl.securerandom.algorithm"));
        assertEquals(KeychainPasswordStore.class.getName(), prefs.getProperty("factory.passwordstore.class"));
    }