[
https://issues.apache.org/jira/browse/OWB-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863151#action_12863151
]
Gurkan Erdogdu commented on OWB-367:
------------------------------------
Yes, it is required. Observer is a RequestScoped therefore OWB creates a proxy
for it. Actual creation is delayed until a method is called on the proxy.
Thanks for test
> Add a unit test for IF_EXISTS
> -----------------------------
>
> Key: OWB-367
> URL: https://issues.apache.org/jira/browse/OWB-367
> Project: OpenWebBeans
> Issue Type: Test
> Components: Events
> Affects Versions: 1.0.0
> Environment: All
> Reporter: Paul J. Reder
> Assignee: Gurkan Erdogdu
> Priority: Minor
> Fix For: 1.0.0
>
> Attachments: unittestIfExistsV2.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> There currently is no unit test to cover IF_EXISTS. The attached patch adds a
> unit test that verifies three cases: Normal observer without IF_EXISTS; an
> observer with IF_EXISTS that *is* instanciated; and an observer with
> IF_EXISTS that is *not* instanciated. The first two observers should receive
> the event, the last described observer should not.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.