On Sep 17, 2010, at 2:32 AM, Andy wrote:

> I am getting a failure in BasicClusterableRequestHandlerTest.
> 
> The setup tries to initialize a BeanContextMock, but there is no longer a 
> default constructor for BeanContext.
> 
> I tested beanContext = (BeanContext) mock(BeanContext.class, new 
> Object[]{"aDeploymentId", null, new ModuleContext("", new AppContext("", 
> SystemInstance.get(), 
> BasicClusterableRequestHandlerTest.class.getClassLoader(), null, null, 
> false), null), Object.class, null, null, null, null, null, null, null, null, 
> null, false}, "BeanContext");
> 
> This works in so far as the BeanContextMock is created , but is more than 
> likely not correct as I have no idea how to properly initialize a new 
> BeanContext(...) for a test.
> The Mock is still not getting what it needs for the test.

Hmm.  We might want to yank that test anyway.  It relates to the WADI 
integration that to my knowledge has never been used by anyone.  We actually 
use a slightly different clustering support now and that definitely is getting 
used.

-David

Reply via email to