[ 
https://issues.apache.org/jira/browse/WICKET-5100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Vaynberg closed WICKET-5100.
---------------------------------

    Resolution: Invalid
      Assignee: Igor Vaynberg

see CdiConfiguraiton.setNonContextualManager()
                
> Make it possible to replace the INonContextualManager in wicket-cdi for mock 
> frameworks 
> ----------------------------------------------------------------------------------------
>
>                 Key: WICKET-5100
>                 URL: https://issues.apache.org/jira/browse/WICKET-5100
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket-cdi
>            Reporter: Daniel Zwicker
>            Assignee: Igor Vaynberg
>
> We are using mockito for out unit tests. Mockito has introduced @InjectMocks 
> for injections mocks in CDI-Beans. I have tried to setup the wicket-cdi to 
> use the 'mockito-injection' but ended up with copy the classes to rewrite 
> just some lines. (just replace the INonContextualManager and omit the 
> BeanManager).
> Perhaps the cdi-module can be refactored to use some kind of factory to 
> replace the INonContextualManager.
>   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to