@Test
public void testUnrecognizableAwsRegionInConfig() {

	exception.expect(IllegalArgumentException.class);
	exception.expectMessage("Invalid AWS region");
	Properties testConfig = new Properties();
	testConfig.setProperty(AWSConfigConstants.AWS_REGION, "wrongRegionId");
	testConfig.setProperty(AWSConfigConstants.AWS_ACCESS_KEY_ID, "accessKeyId");
	testConfig.setProperty(AWSConfigConstants.AWS_SECRET_ACCESS_KEY, "secretKey");
	KinesisConfigUtil.validateAwsConfiguration(testConfig);
}