my dog learned polymorphism*
The moose likes Testing and the fly likes testing MessageContext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "testing MessageContext" Watch "testing MessageContext" New topic
Author

testing MessageContext

AnilPrakash Raju
Ranch Hand

Joined: Jul 26, 2004
Posts: 137
Hi,

I am writing some junit test cases that involves creating messageContext.
Can anyone give any suggestions about how i can creat and test meeageContext?

Thanks in advance

Anil
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
What messageContext? Are we talking about some kind of application framework here?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
I have no idea either what "MessageContext" you're referring to, but I'll still throw back a suggestion to look into "mock objects" and "test doubles".


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: testing MessageContext
 
Similar Threads
add soap header method
Pass object from a webservice client to the MessageContext
Destination URI with Axis
axis2
remove namespace from webservice response