@Test void testContains() { assertFalse(testSubject.contains(associationValue)); testSubject.add(associationValue); assertTrue(testSubject.contains(associationValue)); assertTrue(testSubject.contains(new AssociationValue("key", "value"))); testSubject.remove(associationValue); assertFalse(testSubject.contains(associationValue)); }
@Override public boolean contains(AssociationValue associationValue) { return values.contains(associationValue); }
AssociationValuesImpl implements AssociationValues, Serializable { @Override public boolean contains(AssociationValue associationValue) { return values.contains(associationValue); } }
AssociationValuesImpl implements AssociationValues, Serializable { @Override public boolean contains(AssociationValue associationValue) { return values.contains(associationValue); } AssociationValuesImpl();  AssociationValuesImpl(Set<AssociationValue> initialValues); }
AssociationValuesImpl implements AssociationValues, Serializable { @Override public boolean contains(AssociationValue associationValue) { return values.contains(associationValue); } AssociationValuesImpl();  AssociationValuesImpl(Set<AssociationValue> initialValues); @Override int size(); @Override boolean contains(AssociationValue associationValue); @Override Iterator<AssociationValue> iterator(); @Override boolean add(AssociationValue associationValue); @Override boolean remove(AssociationValue associationValue); @Override Set<AssociationValue> asSet(); @Override Set<AssociationValue> removedAssociations(); @Override Set<AssociationValue> addedAssociations(); @Override void commit(); }
AssociationValuesImpl implements AssociationValues, Serializable { @Override public boolean contains(AssociationValue associationValue) { return values.contains(associationValue); } AssociationValuesImpl();  AssociationValuesImpl(Set<AssociationValue> initialValues); @Override int size(); @Override boolean contains(AssociationValue associationValue); @Override Iterator<AssociationValue> iterator(); @Override boolean add(AssociationValue associationValue); @Override boolean remove(AssociationValue associationValue); @Override Set<AssociationValue> asSet(); @Override Set<AssociationValue> removedAssociations(); @Override Set<AssociationValue> addedAssociations(); @Override void commit();  }