@Test
public void testUnparsableIntForGetRecordsMaxCountInConfig() {

	exception.expect(IllegalArgumentException.class);
	exception.expectMessage("Invalid value given for maximum records per getRecords shard operation");
	Properties testConfig = new Properties();
	testConfig.setProperty(ConsumerConfigConstants.AWS_REGION, "us-east-1");
	testConfig.setProperty(ConsumerConfigConstants.AWS_ACCESS_KEY_ID, "accessKeyId");
	testConfig.setProperty(ConsumerConfigConstants.AWS_SECRET_ACCESS_KEY, "secretKey");
	testConfig.setProperty(ConsumerConfigConstants.SHARD_GETRECORDS_MAX, "unparsableInt");
	KinesisConfigUtil.validateConsumerConfiguration(testConfig);
}