@Test
public void testMissingAwsRegionInConfig() {

	exception.expect(IllegalArgumentException.class);
	exception.expectMessage("The AWS region ('" + AWSConfigConstants.AWS_REGION + "') must be set in the config.");
	Properties testConfig = new Properties();
	testConfig.setProperty(AWSConfigConstants.AWS_ACCESS_KEY_ID, "accessKey");
	testConfig.setProperty(AWSConfigConstants.AWS_SECRET_ACCESS_KEY, "secretKey");
	KinesisConfigUtil.validateAwsConfiguration(testConfig);
}