@Test
public void testGetAwsParamsDto() throws Exception
{

    // Get AWS parameters DTO.
    AwsParamsDto resultAwsParamsDto = awsHelper.getAwsParamsDto();
    // Validate the results.
    // Since local users could set environment variables with a real HTTP proxy to test the real application, we can't update the environment to test
    // specific values. Instead, we can only test that the returned DTO contains the values in the environment.
    assertEquals(configurationHelper.getProperty(ConfigurationValue.HTTP_PROXY_HOST), resultAwsParamsDto.getHttpProxyHost());
    assertEquals(configurationHelper.getProperty(ConfigurationValue.HTTP_PROXY_PORT, Integer.class), resultAwsParamsDto.getHttpProxyPort());
    assertNotNull(resultAwsParamsDto);
}