PluralMultilingualStringFieldStrategy extends DataPropertyFieldStrategy<AbstractPluralAttribute<? super X, ?, MultilingualString>, X> { @Override void buildInstanceFieldValue(Object instance) { if (!values.isEmpty()) { setValueOnInstance(instance, values); } } PluralMultilingualStringFieldStrategy(EntityType<X> et,
                                          AbstractPluralAttribute<? super X, ?, MultilingualString> att,
                                          Descriptor entityDescriptor,
                                          EntityMappingHelper mapper);   }
@Test void buildInstanceFieldValueLeavesFieldNullWhenNoValuesWereAdded() { final PluralMultilingualStringFieldStrategy<OWLClassU> sut = createStrategy(); final OWLClassU u = new OWLClassU(ID); sut.buildInstanceFieldValue(u); assertNull(u.getPluralStringAtt()); }