Description
As reported by Gabriel Terwesten <gabriel@terwesten.net> [1]
Inside of integration tests i can’t seem to access collections through the getter if the object is wrapped. From the documentation I got the impression that that should be possible.
This is the offending line:
assertThat(wrap(food).getCustomUnits()).hasSize(1);
IllegalArgumentException: d.m.c.d.i.Food#customUnits: more than one ImperativeFacet for method getCustomUnits , with inconsistent intents: ... at o.a.i.c.m.facets.ImperativeFacet$Util.getIntent(ImperativeFacet.java:167)