Hi, 

I am new to shale and the concept of mock objects, I am trying to write
a unit test to test a JSF action. The action requires the
getRemoteUser() to return a valid user. Can anyone tell me the proper
way to set up a user in the Mock External context. Thank you in advance.

 

John 
 
 
 
NOTICE:  This message, including all attachments transmitted with it, is for 
the use of the addressee only. It may contain proprietary, confidential and/or 
legally privileged information belonging to Litle & Co. No confidentiality or 
privilege is waived or lost by any mistransmission. If you are not the intended 
recipient, you must not, directly or indirectly, use, disclose, distribute, 
print or copy any part of this message.  If you believe you have received this 
message in error, please delete it and all copies of it from your system and 
notify the sender immediately by reply e-mail.  Thank you. 

Reply via email to