@Test public void testDoEquivalent() { Group a = new GroupBuilder().build(); Group b = new GroupBuilder().build(); eq.doEquivalent(a, b); }
@Override protected boolean doEquivalent(Group a, Group b) { if (!EquivalenceFabric.BUCKETS_EQUIVALENCE.equivalent(a.getBuckets(), b.getBuckets())) { return false; } if (!Objects.equals(a.getContainerName(), b.getContainerName())) { return false; } if (!Objects.equals(a.getGroupName(), b.getGroupName())) { return false; } if (!Objects.equals(a.getGroupType(), b.getGroupType())) { return false; } if (!Objects.equals(a.isBarrier(), b.isBarrier())) { return false; } return true; }
GroupEquivalence extends Equivalence<Group> { @Override protected boolean doEquivalent(Group a, Group b) { if (!EquivalenceFabric.BUCKETS_EQUIVALENCE.equivalent(a.getBuckets(), b.getBuckets())) { return false; } if (!Objects.equals(a.getContainerName(), b.getContainerName())) { return false; } if (!Objects.equals(a.getGroupName(), b.getGroupName())) { return false; } if (!Objects.equals(a.getGroupType(), b.getGroupType())) { return false; } if (!Objects.equals(a.isBarrier(), b.isBarrier())) { return false; } return true; } }
GroupEquivalence extends Equivalence<Group> { @Override protected boolean doEquivalent(Group a, Group b) { if (!EquivalenceFabric.BUCKETS_EQUIVALENCE.equivalent(a.getBuckets(), b.getBuckets())) { return false; } if (!Objects.equals(a.getContainerName(), b.getContainerName())) { return false; } if (!Objects.equals(a.getGroupName(), b.getGroupName())) { return false; } if (!Objects.equals(a.getGroupType(), b.getGroupType())) { return false; } if (!Objects.equals(a.isBarrier(), b.isBarrier())) { return false; } return true; } GroupEquivalence(); }
GroupEquivalence extends Equivalence<Group> { @Override protected boolean doEquivalent(Group a, Group b) { if (!EquivalenceFabric.BUCKETS_EQUIVALENCE.equivalent(a.getBuckets(), b.getBuckets())) { return false; } if (!Objects.equals(a.getContainerName(), b.getContainerName())) { return false; } if (!Objects.equals(a.getGroupName(), b.getGroupName())) { return false; } if (!Objects.equals(a.getGroupType(), b.getGroupType())) { return false; } if (!Objects.equals(a.isBarrier(), b.isBarrier())) { return false; } return true; } GroupEquivalence();  }
GroupEquivalence extends Equivalence<Group> { @Override protected boolean doEquivalent(Group a, Group b) { if (!EquivalenceFabric.BUCKETS_EQUIVALENCE.equivalent(a.getBuckets(), b.getBuckets())) { return false; } if (!Objects.equals(a.getContainerName(), b.getContainerName())) { return false; } if (!Objects.equals(a.getGroupName(), b.getGroupName())) { return false; } if (!Objects.equals(a.getGroupType(), b.getGroupType())) { return false; } if (!Objects.equals(a.isBarrier(), b.isBarrier())) { return false; } return true; } GroupEquivalence();   }