Re: [xwiki-users] Problem mocking LoggerManager

2012-12-10 Thread jerem
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

Re: [xwiki-users] Problem mocking LoggerManager

2012-12-10 Thread Vincent Massol
Hi Jeremie, On Dec 10, 2012, at 1:22 PM, jerem jeremie.bousq...@gmail.com wrote: 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:

Re: [xwiki-users] Problem mocking LoggerManager

2012-12-10 Thread Jeremie BOUSQUET
Hi Vincent, 2012/12/10 Vincent Massol vinc...@massol.net Hi Jeremie, On Dec 10, 2012, at 1:22 PM, jerem jeremie.bousq...@gmail.com wrote: Hi, I could workaround that quite easily, by adding the following in my setUp() method, just before retrieving my class under tests from the

Re: [xwiki-users] Problem mocking LoggerManager

2012-12-10 Thread Vincent Massol
On Dec 10, 2012, at 2:16 PM, Jeremie BOUSQUET jeremie.bousq...@gmail.com wrote: Hi Vincent, 2012/12/10 Vincent Massol vinc...@massol.net Hi Jeremie, On Dec 10, 2012, at 1:22 PM, jerem jeremie.bousq...@gmail.com wrote: Hi, I could workaround that quite easily, by adding the