@Test
public void testCorrectlySetRegionInProducerConfiguration() {

	String region = "us-east-1";
	Properties testConfig = new Properties();
	testConfig.setProperty(AWSConfigConstants.AWS_REGION, region);
	KinesisProducerConfiguration kpc = KinesisConfigUtil.getValidatedProducerConfiguration(testConfig);
	assertEquals("incorrect region", region, kpc.getRegion());
}