dependency-check-utils/src/test/java/org/owasp/dependencycheck/utils/SettingsTest.java
/**
     * Test of getInt method, of class Settings.
     */
Test of getInt method, of class Settings.
Test of getInt method of class Settings .
@Test
    public void testGetIntDefault() throws InvalidSettingException {
        String key = "SomeKey";
        int expResult = 85;
        Settings.setString(key, "blue");
        int result = Settings.getInt(key, expResult);
        Assert.assertEquals(expResult, result);
    }
@ Test public void testGetIntDefault ( ) throws InvalidSettingException { String key = "SomeKey" ; int expResult = 85 ; Settings . setString ( key , "blue" ) ; int result = Settings . getInt ( key , expResult ) ; Assert . assertEquals ( expResult , result ) ; }
Test of getInt method, of class Settings.
Test of getInt method of class Settings .