ObjectAssociationAbstract extends ObjectMemberAbstract implements ObjectAssociation { @Override public boolean hasChoices() { return containsFacet(PropertyChoicesFacet.class); } ObjectAssociationAbstract(
            final FacetedMethod facetedMethod,
            final FeatureType featureType,
            final ObjectSpecification specification); @Override FacetHolder getFacetHolder(); @Override ObjectSpecification getOnType(); @Override ObjectSpecification getSpecification(); @Override boolean isNotPersisted(); @Override boolean hasChoices(); @Override boolean isMandatory(); @Override abstract boolean isEmpty(final ManagedObject adapter, final InteractionInitiatedBy interactionInitiatedBy); @Override boolean isOneToOneAssociation();  }
@Test public void hasNoChoices() throws Exception { assertFalse(objectAssociation.hasChoices()); }
@Test public void hasChoices() throws Exception { final PropertyChoicesFacet mockFacet = mockFacetIgnoring(PropertyChoicesFacet.class); facetedMethod.addFacet(mockFacet); assertTrue(objectAssociation.hasChoices()); }