test « Object « Spring Q&A





1. How to Pass an Object as Parameter in Junit test    forum.springsource.org

Pass an Object as Parameter in Junit test private CRCParticipant createFormObjectForUpdateParticipant(RequestContex t context){ CRCParticipant crcParticipant = null; Account account=null; Object userInformation = context.getExternalContext().getSessionMap().get(C onstants.USERSESSION); //logger.debug("userInformation:"+ userInformation.toString()); UserContext userContext = (UserContext)userInformation; if(userContext ...

2. Test DataOnDemand objects broken in RC1?    forum.springsource.org

Test DataOnDemand objects broken in RC1? I noticed that the init() method in the integration test generated DataOnDemand classes changed in RC1 from M3. It no longer checks to see if ...