String cacheName = "rebels";
String[] groups = { "endor", "hoth" };
struct.setCacheName(cacheName);
struct.setGroups(groups);
CacheStruct struct2 = new CacheStruct(cacheName, groups);
assertEqualsHashCodeRelationshipIsCorrect(struct, struct2);
cacheName = null;
groups = new String[0];
struct.setCacheName(cacheName);
struct.setGroups(groups);
struct2.setCacheName(cacheName);
struct2.setGroups(groups);
assertEqualsHashCodeRelationshipIsCorrect(struct, struct2);
}