### Question:
BucketsEquivalence extends Equivalence<Buckets> { @Override protected boolean doEquivalent(Buckets a, Buckets b) { Set<Bucket> setA = new HashSet<>(); Set<Bucket> setB = new HashSet<>(); if (a.getBucket() != null) { setA = new HashSet<>(a.getBucket()); } if (b.getBucket() != null) { setB = new HashSet<>(b.getBucket()); } return setA.equals(setB); } BucketsEquivalence();   }### Answer:
@Test public void testDoEquivalent() { Buckets a = new BucketsBuilder().build(); Buckets b = new BucketsBuilder().build(); eq.doEquivalent(a, b); }