Program: 93011
Project: 93011
Buggy source:
@Test public void testBuilder(){
  initializeExpectedBucket(4);
  expect(storage.getOptions()).andReturn(mockOptions).times(4);
  replay(storage);
  Bucket.Builder builder=new Bucket.Builder(new Bucket(storage,new BucketInfo.BuilderImpl(BUCKET_INFO)));
  Bucket bucket=builder.setAcl(ACLS).setEtag(ETAG).setGeneratedId(GENERATED_ID).setMetageneration(META_GENERATION).setOwner(OWNER).setSelfLink(SELF_LINK).setCors(CORS).setCreateTime(CREATE_TIME).setDefaultAcl(DEFAULT_ACL).setDeleteRules(DELETE_RULES).setIndexPage(INDEX_PAGE).setNotFoundPage(NOT_FOUND_PAGE).setLocation(LOCATION).setStorageClass(STORAGE_CLASS).setVersioningEnabled(VERSIONING_ENABLED).setLabels(BUCKET_LABELS).setRequesterPays(REQUESTER_PAYS).build();
  assertEquals("String_Node_Str",bucket.getName());
  assertEquals(ACLS,bucket.getAcl());
  assertEquals(ETAG,bucket.getEtag());
  assertEquals(GENERATED_ID,bucket.getGeneratedId());
  assertEquals(META_GENERATION,bucket.getMetageneration());
  assertEquals(OWNER,bucket.getOwner());
  assertEquals(SELF_LINK,bucket.getSelfLink());
  assertEquals(CREATE_TIME,bucket.getCreateTime());
  assertEquals(CORS,bucket.getCors());
  assertEquals(DEFAULT_ACL,bucket.getDefaultAcl());
  assertEquals(DELETE_RULES,bucket.getDeleteRules());
  assertEquals(INDEX_PAGE,bucket.getIndexPage());
  assertEquals(NOT_FOUND_PAGE,bucket.getNotFoundPage());
  assertEquals(LOCATION,bucket.getLocation());
  assertEquals(STORAGE_CLASS,bucket.getStorageClass());
  assertEquals(VERSIONING_ENABLED,bucket.versioningEnabled());
  assertEquals(BUCKET_LABELS,bucket.getLabels());
  assertEquals(VERSIONING_ENABLED,bucket.requesterPays());
  assertEquals(storage.getOptions(),bucket.getStorage().getOptions());
}

Fixed version (ground truth):
@Test public void testBuilder(){
  initializeExpectedBucket(4);
  expect(storage.getOptions()).andReturn(mockOptions).times(4);
  replay(storage);
  Bucket.Builder builder=new Bucket.Builder(new Bucket(storage,new BucketInfo.BuilderImpl(BUCKET_INFO)));
  Bucket bucket=builder.setAcl(ACLS).setEtag(ETAG).setGeneratedId(GENERATED_ID).setMetageneration(META_GENERATION).setOwner(OWNER).setSelfLink(SELF_LINK).setCors(CORS).setCreateTime(CREATE_TIME).setDefaultAcl(DEFAULT_ACL).setDeleteRules(DELETE_RULES).setIndexPage(INDEX_PAGE).setNotFoundPage(NOT_FOUND_PAGE).setLocation(LOCATION).setStorageClass(STORAGE_CLASS).setVersioningEnabled(VERSIONING_ENABLED).setLabels(BUCKET_LABELS).setRequesterPays(REQUESTER_PAYS).build();
  assertEquals("String_Node_Str",bucket.getName());
  assertEquals(ACLS,bucket.getAcl());
  assertEquals(ETAG,bucket.getEtag());
  assertEquals(GENERATED_ID,bucket.getGeneratedId());
  assertEquals(META_GENERATION,bucket.getMetageneration());
  assertEquals(OWNER,bucket.getOwner());
  assertEquals(SELF_LINK,bucket.getSelfLink());
  assertEquals(CREATE_TIME,bucket.getCreateTime());
  assertEquals(CORS,bucket.getCors());
  assertEquals(DEFAULT_ACL,bucket.getDefaultAcl());
  assertEquals(DELETE_RULES,bucket.getDeleteRules());
  assertEquals(INDEX_PAGE,bucket.getIndexPage());
  assertEquals(NOT_FOUND_PAGE,bucket.getNotFoundPage());
  assertEquals(LOCATION,bucket.getLocation());
  assertEquals(STORAGE_CLASS,bucket.getStorageClass());
  assertEquals(VERSIONING_ENABLED,bucket.versioningEnabled());
  assertEquals(BUCKET_LABELS,bucket.getLabels());
  assertEquals(REQUESTER_PAYS,bucket.requesterPays());
  assertEquals(storage.getOptions(),bucket.getStorage().getOptions());
}