FossologySettings { public int getFossologyPort() { return FOSSOLOGY_PORT; }  int getFossologyConnectionTimeout(); long getFossologyExecutionTimeout(); String getFossologyHost(); int getFossologyPort(); String getFossologySshUsername(); byte[] getFossologyPrivateKey(); byte[] getFossologyPublicKey();  }
@Test public void testGetFossologyPort() throws Exception { final int fossologySshUsername = fossologySettings.getFossologyPort(); assertThat(fossologySshUsername, is(greaterThan(0))); assertThat(fossologySshUsername, is(lessThan(65536))); }