deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars-Fredrik Smedberg <>
Subject Using OWB (and Weld) and mocking @ApplicationScoped beans
Date Mon, 15 May 2017 07:19:51 GMT

I read in that
when using OWB (only??) and mocking @ApplicationScoped beans I would need
to use ApplicationMockManager and not DynamicMockManager.

When trying it out it seems that it works (with my simple tests at least)
using DynamicMockManager for @ApplicationScoped beans both for OWB and

Did I miss something or for what cases does it not work?


Med vänlig hälsning / Best regards

Lars-Fredrik Smedberg

The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
address(es) and may contain confidential or privileged information. If
you are not the intended recipient, please notify Lars-Fredrik Smedberg
immediately at, and destroy all copies of this
message and any attachments.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message