Hi S Haster I spent quite some time trying to reproduce this, but it seems to work correctly. In your test, you have one mistake - your decorator is not enabled. You need to change the @Deployment method like this:
@Deployment |
public static Archive<?> deploy() { |
return ShrinkWrap.create(BeanArchive.class, Utils.getDeploymentNameAsHash(DecoratedInteraceWithDefaultMethodTest.class)) |
.decorate(BeanDecorator.class, DecoratorWhichOnlyOverridesMethodWithDefaultImpl.class) |
.addPackage(DecoratedInteraceWithDefaultMethodTest.class.getPackage()); |
}
|
Can you confirm that it was just this oversight? Or am I missing something else? |