Hi, I could workaround that quite easily, by adding the following in my setUp() method, just before retrieving my class under tests from the component manager:
getComponentManager().registerMockComponent(getMockery(), LoggerManager.class); But it seems to confirm that, for any reason, the LoggerManager was not automatically mocked by AbstractBridgedComponentTestCase. BR, Jeremie -- View this message in context: http://xwiki.475771.n2.nabble.com/Problem-mocking-LoggerManager-tp7582812p7582825.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users