@Test public void testNotEqualsTwoInstances() { Label label2 = Bucket.Label.valueOf("TestLabel2"); BucketCounts counter2 = new BucketCounts.Builder().withLabel(label2) .withJointActionCounts(jointActionCounts).withImpressionCounts(impressionCounts) .withActionCounts(actionCounts).build(); assertThat(counter, not(equalTo(counter2))); assertThat(counter, not(equalTo(counter2.clone()))); }
@Override public BucketCounts clone() { return (BucketCounts) super.clone(); }
BucketCounts extends AbstractContainerCounts { @Override public BucketCounts clone() { return (BucketCounts) super.clone(); } }
BucketCounts extends AbstractContainerCounts { @Override public BucketCounts clone() { return (BucketCounts) super.clone(); }  }
BucketCounts extends AbstractContainerCounts { @Override public BucketCounts clone() { return (BucketCounts) super.clone(); }  Bucket.Label getLabel(); void setLabel(Bucket.Label value); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); @Override BucketCounts clone(); }
BucketCounts extends AbstractContainerCounts { @Override public BucketCounts clone() { return (BucketCounts) super.clone(); }  Bucket.Label getLabel(); void setLabel(Bucket.Label value); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); @Override BucketCounts clone();  }