public void testBucketGroupConfiguration() throws Exception {
doTestGroupConfiguration("bucket", MessageGroupHashBucket.class);
}
public void testBucketGroupConfigurationWithBucketCount() throws Exception {
MessageGroupHashBucket result = (MessageGroupHashBucket) doTestGroupConfiguration("bucket?bucketCount=2", MessageGroupHashBucket.class);
assertEquals(2,result.getBucketCount());
}