Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

testing MessageContext

 
AnilPrakash Raju
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What messageContext? Are we talking about some kind of application framework here?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic