@Test(expected = IllegalArgumentException.class)
public void testUpdateBucketWithoutId() {

    final Bucket bucket = new Bucket();
    bucket.setName("My Bucket");
    bucket.setDescription("This is my bucket.");
    registryService.updateBucket(bucket);
}