Integer length = new Integer(10);
for(int i=0;i<lenghts.length;i++){ Integer length = new Integer(lenghts[i]);
    public void testGetWordIntegerLocale() {        Integer length = new Integer(10);        String test = this.dictionaryWordGenerator.getWord(length,Locale.US);        assertNotNull(test);        assertTrue(test.length() > 0);        assertEquals(length.intValue(),test.length());    }