@Test
public void testUnparsableLongForShardDiscoveryIntervalMillisInConfig() {

	exception.expect(IllegalArgumentException.class);
	exception.expectMessage("Invalid value given for shard discovery sleep interval in milliseconds");
	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_DISCOVERY_INTERVAL_MILLIS, "unparsableLong");
	KinesisConfigUtil.validateConsumerConfiguration(testConfig);
}